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