Go to the documentation of this file.00001
00002 #ifndef MAP_MSGS_MESSAGE_PROJECTEDMAPINFO_H
00003 #define MAP_MSGS_MESSAGE_PROJECTEDMAPINFO_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017
00018 namespace map_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ProjectedMapInfo_ {
00022 typedef ProjectedMapInfo_<ContainerAllocator> Type;
00023
00024 ProjectedMapInfo_()
00025 : frame_id()
00026 , x(0.0)
00027 , y(0.0)
00028 , width(0.0)
00029 , height(0.0)
00030 , min_z(0.0)
00031 , max_z(0.0)
00032 {
00033 }
00034
00035 ProjectedMapInfo_(const ContainerAllocator& _alloc)
00036 : frame_id(_alloc)
00037 , x(0.0)
00038 , y(0.0)
00039 , width(0.0)
00040 , height(0.0)
00041 , min_z(0.0)
00042 , max_z(0.0)
00043 {
00044 }
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_id_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame_id;
00048
00049 typedef double _x_type;
00050 double x;
00051
00052 typedef double _y_type;
00053 double y;
00054
00055 typedef double _width_type;
00056 double width;
00057
00058 typedef double _height_type;
00059 double height;
00060
00061 typedef double _min_z_type;
00062 double min_z;
00063
00064 typedef double _max_z_type;
00065 double max_z;
00066
00067
00068 typedef boost::shared_ptr< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> > Ptr;
00069 typedef boost::shared_ptr< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> const> ConstPtr;
00070 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 };
00072 typedef ::map_msgs::ProjectedMapInfo_<std::allocator<void> > ProjectedMapInfo;
00073
00074 typedef boost::shared_ptr< ::map_msgs::ProjectedMapInfo> ProjectedMapInfoPtr;
00075 typedef boost::shared_ptr< ::map_msgs::ProjectedMapInfo const> ProjectedMapInfoConstPtr;
00076
00077
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const ::map_msgs::ProjectedMapInfo_<ContainerAllocator> & v)
00080 {
00081 ros::message_operations::Printer< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> >::stream(s, "", v);
00082 return s;}
00083
00084 }
00085
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "2dc10595ae94de23f22f8a6d2a0eef7a";
00097 }
00098
00099 static const char* value(const ::map_msgs::ProjectedMapInfo_<ContainerAllocator> &) { return value(); }
00100 static const uint64_t static_value1 = 0x2dc10595ae94de23ULL;
00101 static const uint64_t static_value2 = 0xf22f8a6d2a0eef7aULL;
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct DataType< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "map_msgs/ProjectedMapInfo";
00109 }
00110
00111 static const char* value(const ::map_msgs::ProjectedMapInfo_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct Definition< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "string frame_id\n\
00119 float64 x\n\
00120 float64 y\n\
00121 float64 width\n\
00122 float64 height\n\
00123 float64 min_z\n\
00124 float64 max_z\n\
00125 ";
00126 }
00127
00128 static const char* value(const ::map_msgs::ProjectedMapInfo_<ContainerAllocator> &) { return value(); }
00129 };
00130
00131 }
00132 }
00133
00134 namespace ros
00135 {
00136 namespace serialization
00137 {
00138
00139 template<class ContainerAllocator> struct Serializer< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> >
00140 {
00141 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00142 {
00143 stream.next(m.frame_id);
00144 stream.next(m.x);
00145 stream.next(m.y);
00146 stream.next(m.width);
00147 stream.next(m.height);
00148 stream.next(m.min_z);
00149 stream.next(m.max_z);
00150 }
00151
00152 ROS_DECLARE_ALLINONE_SERIALIZER;
00153 };
00154 }
00155 }
00156
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161
00162 template<class ContainerAllocator>
00163 struct Printer< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> >
00164 {
00165 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::map_msgs::ProjectedMapInfo_<ContainerAllocator> & v)
00166 {
00167 s << indent << "frame_id: ";
00168 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_id);
00169 s << indent << "x: ";
00170 Printer<double>::stream(s, indent + " ", v.x);
00171 s << indent << "y: ";
00172 Printer<double>::stream(s, indent + " ", v.y);
00173 s << indent << "width: ";
00174 Printer<double>::stream(s, indent + " ", v.width);
00175 s << indent << "height: ";
00176 Printer<double>::stream(s, indent + " ", v.height);
00177 s << indent << "min_z: ";
00178 Printer<double>::stream(s, indent + " ", v.min_z);
00179 s << indent << "max_z: ";
00180 Printer<double>::stream(s, indent + " ", v.max_z);
00181 }
00182 };
00183
00184
00185 }
00186 }
00187
00188 #endif // MAP_MSGS_MESSAGE_PROJECTEDMAPINFO_H
00189