OccupancyGridUpdate.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-map_msgs/doc_stacks/2013-05-31_08-20-41.450426/map_msgs/msg/OccupancyGridUpdate.msg */
00002 #ifndef MAP_MSGS_MESSAGE_OCCUPANCYGRIDUPDATE_H
00003 #define MAP_MSGS_MESSAGE_OCCUPANCYGRIDUPDATE_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 #include "std_msgs/Header.h"
00018 
00019 namespace map_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct OccupancyGridUpdate_ {
00023   typedef OccupancyGridUpdate_<ContainerAllocator> Type;
00024 
00025   OccupancyGridUpdate_()
00026   : header()
00027   , x(0)
00028   , y(0)
00029   , width(0)
00030   , height(0)
00031   , data()
00032   {
00033   }
00034 
00035   OccupancyGridUpdate_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , x(0)
00038   , y(0)
00039   , width(0)
00040   , height(0)
00041   , data(_alloc)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef int32_t _x_type;
00049   int32_t x;
00050 
00051   typedef int32_t _y_type;
00052   int32_t y;
00053 
00054   typedef uint32_t _width_type;
00055   uint32_t width;
00056 
00057   typedef uint32_t _height_type;
00058   uint32_t height;
00059 
00060   typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  _data_type;
00061   std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  data;
00062 
00063 
00064   typedef boost::shared_ptr< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct OccupancyGridUpdate
00068 typedef  ::map_msgs::OccupancyGridUpdate_<std::allocator<void> > OccupancyGridUpdate;
00069 
00070 typedef boost::shared_ptr< ::map_msgs::OccupancyGridUpdate> OccupancyGridUpdatePtr;
00071 typedef boost::shared_ptr< ::map_msgs::OccupancyGridUpdate const> OccupancyGridUpdateConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace map_msgs
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "b295be292b335c34718bd939deebe1c9";
00093   }
00094 
00095   static const char* value(const  ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0xb295be292b335c34ULL;
00097   static const uint64_t static_value2 = 0x718bd939deebe1c9ULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "map_msgs/OccupancyGridUpdate";
00105   }
00106 
00107   static const char* value(const  ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "Header header\n\
00115 int32 x\n\
00116 int32 y\n\
00117 uint32 width\n\
00118 uint32 height\n\
00119 int8[] data\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: std_msgs/Header\n\
00123 # Standard metadata for higher-level stamped data types.\n\
00124 # This is generally used to communicate timestamped data \n\
00125 # in a particular coordinate frame.\n\
00126 # \n\
00127 # sequence ID: consecutively increasing ID \n\
00128 uint32 seq\n\
00129 #Two-integer timestamp that is expressed as:\n\
00130 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00131 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00132 # time-handling sugar is provided by the client library\n\
00133 time stamp\n\
00134 #Frame this data is associated with\n\
00135 # 0: no frame\n\
00136 # 1: global frame\n\
00137 string frame_id\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct HasHeader< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct HasHeader< const ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> > : public TrueType {};
00147 } // namespace message_traits
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154 
00155 template<class ContainerAllocator> struct Serializer< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> >
00156 {
00157   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158   {
00159     stream.next(m.header);
00160     stream.next(m.x);
00161     stream.next(m.y);
00162     stream.next(m.width);
00163     stream.next(m.height);
00164     stream.next(m.data);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct OccupancyGridUpdate_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::map_msgs::OccupancyGridUpdate_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "header: ";
00183 s << std::endl;
00184     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00185     s << indent << "x: ";
00186     Printer<int32_t>::stream(s, indent + "  ", v.x);
00187     s << indent << "y: ";
00188     Printer<int32_t>::stream(s, indent + "  ", v.y);
00189     s << indent << "width: ";
00190     Printer<uint32_t>::stream(s, indent + "  ", v.width);
00191     s << indent << "height: ";
00192     Printer<uint32_t>::stream(s, indent + "  ", v.height);
00193     s << indent << "data[]" << std::endl;
00194     for (size_t i = 0; i < v.data.size(); ++i)
00195     {
00196       s << indent << "  data[" << i << "]: ";
00197       Printer<int8_t>::stream(s, indent + "  ", v.data[i]);
00198     }
00199   }
00200 };
00201 
00202 
00203 } // namespace message_operations
00204 } // namespace ros
00205 
00206 #endif // MAP_MSGS_MESSAGE_OCCUPANCYGRIDUPDATE_H
00207 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


map_msgs
Author(s): Stéphane Magnenat
autogenerated on Fri May 31 2013 08:22:01