CompressedOccupancyGrid.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bosch_web_visualization/doc_stacks/2014-01-03_11-08-48.765440/bosch_web_visualization/map_compressor/msg/CompressedOccupancyGrid.msg */
00002 #ifndef MAP_COMPRESSOR_MESSAGE_COMPRESSEDOCCUPANCYGRID_H
00003 #define MAP_COMPRESSOR_MESSAGE_COMPRESSEDOCCUPANCYGRID_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 #include "nav_msgs/MapMetaData.h"
00019 
00020 namespace map_compressor
00021 {
00022 template <class ContainerAllocator>
00023 struct CompressedOccupancyGrid_ {
00024   typedef CompressedOccupancyGrid_<ContainerAllocator> Type;
00025 
00026   CompressedOccupancyGrid_()
00027   : header()
00028   , info()
00029   , data()
00030   {
00031   }
00032 
00033   CompressedOccupancyGrid_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , info(_alloc)
00036   , data(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00041    ::std_msgs::Header_<ContainerAllocator>  header;
00042 
00043   typedef  ::nav_msgs::MapMetaData_<ContainerAllocator>  _info_type;
00044    ::nav_msgs::MapMetaData_<ContainerAllocator>  info;
00045 
00046   typedef std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other >  _data_type;
00047   std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other >  data;
00048 
00049 
00050   typedef boost::shared_ptr< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct CompressedOccupancyGrid
00054 typedef  ::map_compressor::CompressedOccupancyGrid_<std::allocator<void> > CompressedOccupancyGrid;
00055 
00056 typedef boost::shared_ptr< ::map_compressor::CompressedOccupancyGrid> CompressedOccupancyGridPtr;
00057 typedef boost::shared_ptr< ::map_compressor::CompressedOccupancyGrid const> CompressedOccupancyGridConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace map_compressor
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "4a0685de3ed14662c76d0e78e9589b5c";
00079   }
00080 
00081   static const char* value(const  ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x4a0685de3ed14662ULL;
00083   static const uint64_t static_value2 = 0xc76d0e78e9589b5cULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "map_compressor/CompressedOccupancyGrid";
00091   }
00092 
00093   static const char* value(const  ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "std_msgs/Header header\n\
00101 nav_msgs/MapMetaData info\n\
00102 int64[] data\n\
00103 ================================================================================\n\
00104 MSG: std_msgs/Header\n\
00105 # Standard metadata for higher-level stamped data types.\n\
00106 # This is generally used to communicate timestamped data \n\
00107 # in a particular coordinate frame.\n\
00108 # \n\
00109 # sequence ID: consecutively increasing ID \n\
00110 uint32 seq\n\
00111 #Two-integer timestamp that is expressed as:\n\
00112 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00113 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00114 # time-handling sugar is provided by the client library\n\
00115 time stamp\n\
00116 #Frame this data is associated with\n\
00117 # 0: no frame\n\
00118 # 1: global frame\n\
00119 string frame_id\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: nav_msgs/MapMetaData\n\
00123 # This hold basic information about the characterists of the OccupancyGrid\n\
00124 \n\
00125 # The time at which the map was loaded\n\
00126 time map_load_time\n\
00127 # The map resolution [m/cell]\n\
00128 float32 resolution\n\
00129 # Map width [cells]\n\
00130 uint32 width\n\
00131 # Map height [cells]\n\
00132 uint32 height\n\
00133 # The origin of the map [m, m, rad].  This is the real-world pose of the\n\
00134 # cell (0,0) in the map.\n\
00135 geometry_msgs/Pose origin\n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Pose\n\
00138 # A representation of pose in free space, composed of postion and orientation. \n\
00139 Point position\n\
00140 Quaternion orientation\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/Point\n\
00144 # This contains the position of a point in free space\n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Quaternion\n\
00151 # This represents an orientation in free space in quaternion form.\n\
00152 \n\
00153 float64 x\n\
00154 float64 y\n\
00155 float64 z\n\
00156 float64 w\n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 } // namespace message_traits
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171 
00172 template<class ContainerAllocator> struct Serializer< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> >
00173 {
00174   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175   {
00176     stream.next(m.header);
00177     stream.next(m.info);
00178     stream.next(m.data);
00179   }
00180 
00181   ROS_DECLARE_ALLINONE_SERIALIZER;
00182 }; // struct CompressedOccupancyGrid_
00183 } // namespace serialization
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190 
00191 template<class ContainerAllocator>
00192 struct Printer< ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> >
00193 {
00194   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::map_compressor::CompressedOccupancyGrid_<ContainerAllocator> & v) 
00195   {
00196     s << indent << "header: ";
00197 s << std::endl;
00198     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00199     s << indent << "info: ";
00200 s << std::endl;
00201     Printer< ::nav_msgs::MapMetaData_<ContainerAllocator> >::stream(s, indent + "  ", v.info);
00202     s << indent << "data[]" << std::endl;
00203     for (size_t i = 0; i < v.data.size(); ++i)
00204     {
00205       s << indent << "  data[" << i << "]: ";
00206       Printer<int64_t>::stream(s, indent + "  ", v.data[i]);
00207     }
00208   }
00209 };
00210 
00211 
00212 } // namespace message_operations
00213 } // namespace ros
00214 
00215 #endif // MAP_COMPRESSOR_MESSAGE_COMPRESSEDOCCUPANCYGRID_H
00216 


map_compressor
Author(s): Bener Suay
autogenerated on Fri Jan 3 2014 11:11:19