GeographicMap.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-geographic_info/doc_stacks/2014-10-06_00-07-40.982211/geographic_info/geographic_msgs/msg/GeographicMap.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAP_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAP_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 "uuid_msgs/UniqueID.h"
00019 #include "geographic_msgs/BoundingBox.h"
00020 #include "geographic_msgs/WayPoint.h"
00021 #include "geographic_msgs/MapFeature.h"
00022 #include "geographic_msgs/KeyValue.h"
00023 
00024 namespace geographic_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct GeographicMap_ {
00028   typedef GeographicMap_<ContainerAllocator> Type;
00029 
00030   GeographicMap_()
00031   : header()
00032   , id()
00033   , bounds()
00034   , points()
00035   , features()
00036   , props()
00037   {
00038   }
00039 
00040   GeographicMap_(const ContainerAllocator& _alloc)
00041   : header(_alloc)
00042   , id(_alloc)
00043   , bounds(_alloc)
00044   , points(_alloc)
00045   , features(_alloc)
00046   , props(_alloc)
00047   {
00048   }
00049 
00050   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00051    ::std_msgs::Header_<ContainerAllocator>  header;
00052 
00053   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _id_type;
00054    ::uuid_msgs::UniqueID_<ContainerAllocator>  id;
00055 
00056   typedef  ::geographic_msgs::BoundingBox_<ContainerAllocator>  _bounds_type;
00057    ::geographic_msgs::BoundingBox_<ContainerAllocator>  bounds;
00058 
00059   typedef std::vector< ::geographic_msgs::WayPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::WayPoint_<ContainerAllocator> >::other >  _points_type;
00060   std::vector< ::geographic_msgs::WayPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::WayPoint_<ContainerAllocator> >::other >  points;
00061 
00062   typedef std::vector< ::geographic_msgs::MapFeature_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::MapFeature_<ContainerAllocator> >::other >  _features_type;
00063   std::vector< ::geographic_msgs::MapFeature_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::MapFeature_<ContainerAllocator> >::other >  features;
00064 
00065   typedef std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  _props_type;
00066   std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  props;
00067 
00068 
00069   typedef boost::shared_ptr< ::geographic_msgs::GeographicMap_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::geographic_msgs::GeographicMap_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct GeographicMap
00073 typedef  ::geographic_msgs::GeographicMap_<std::allocator<void> > GeographicMap;
00074 
00075 typedef boost::shared_ptr< ::geographic_msgs::GeographicMap> GeographicMapPtr;
00076 typedef boost::shared_ptr< ::geographic_msgs::GeographicMap const> GeographicMapConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::GeographicMap_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::geographic_msgs::GeographicMap_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace geographic_msgs
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeographicMap_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeographicMap_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::geographic_msgs::GeographicMap_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "0f4ce6d2ebf9ac9c7c4f3308f6ae0731";
00098   }
00099 
00100   static const char* value(const  ::geographic_msgs::GeographicMap_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x0f4ce6d2ebf9ac9cULL;
00102   static const uint64_t static_value2 = 0x7c4f3308f6ae0731ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::geographic_msgs::GeographicMap_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "geographic_msgs/GeographicMap";
00110   }
00111 
00112   static const char* value(const  ::geographic_msgs::GeographicMap_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::geographic_msgs::GeographicMap_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "# Geographic map for a specified region.\n\
00120 \n\
00121 Header header            # stamp specifies time\n\
00122                          # frame_id (normally /map)\n\
00123 \n\
00124 uuid_msgs/UniqueID id    # identifier for this map\n\
00125 BoundingBox  bounds      # 2D bounding box containing map\n\
00126 \n\
00127 WayPoint[]   points      # way-points\n\
00128 MapFeature[] features    # map features\n\
00129 KeyValue[]   props       # map properties\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: std_msgs/Header\n\
00133 # Standard metadata for higher-level stamped data types.\n\
00134 # This is generally used to communicate timestamped data \n\
00135 # in a particular coordinate frame.\n\
00136 # \n\
00137 # sequence ID: consecutively increasing ID \n\
00138 uint32 seq\n\
00139 #Two-integer timestamp that is expressed as:\n\
00140 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00141 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00142 # time-handling sugar is provided by the client library\n\
00143 time stamp\n\
00144 #Frame this data is associated with\n\
00145 # 0: no frame\n\
00146 # 1: global frame\n\
00147 string frame_id\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: uuid_msgs/UniqueID\n\
00151 # A universally unique identifier (UUID).\n\
00152 #\n\
00153 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00154 #  http://tools.ietf.org/html/rfc4122.html\n\
00155 \n\
00156 uint8[16] uuid\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geographic_msgs/BoundingBox\n\
00160 # Geographic map bounding box. \n\
00161 #\n\
00162 # The two GeoPoints denote diagonally opposite corners of the box.\n\
00163 #\n\
00164 # If min_pt.latitude is NaN, the bounding box is \"global\", matching\n\
00165 # any valid latitude, longitude and altitude.\n\
00166 #\n\
00167 # If min_pt.altitude is NaN, the bounding box is two-dimensional and\n\
00168 # matches any altitude within the specified latitude and longitude\n\
00169 # range.\n\
00170 \n\
00171 GeoPoint min_pt         # lowest and most Southwestern corner\n\
00172 GeoPoint max_pt         # highest and most Northeastern corner\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geographic_msgs/GeoPoint\n\
00176 # Geographic point, using the WGS 84 reference ellipsoid.\n\
00177 \n\
00178 # Latitude [degrees]. Positive is north of equator; negative is south\n\
00179 # (-90 <= latitude <= +90).\n\
00180 float64 latitude\n\
00181 \n\
00182 # Longitude [degrees]. Positive is east of prime meridian; negative is\n\
00183 # west (-180 <= longitude <= +180). At the poles, latitude is -90 or\n\
00184 # +90, and longitude is irrelevant, but must be in range.\n\
00185 float64 longitude\n\
00186 \n\
00187 # Altitude [m]. Positive is above the WGS 84 ellipsoid (NaN if unspecified).\n\
00188 float64 altitude\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geographic_msgs/WayPoint\n\
00192 # Way-point element for a geographic map.\n\
00193 \n\
00194 uuid_msgs/UniqueID id   # Unique way-point identifier\n\
00195 GeoPoint   position     # Position relative to WGS 84 ellipsoid\n\
00196 KeyValue[] props        # Key/value properties for this point\n\
00197 \n\
00198 ================================================================================\n\
00199 MSG: geographic_msgs/KeyValue\n\
00200 # Geographic map tag (key, value) pair\n\
00201 #\n\
00202 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00203 # avoid introducing a trivial stack dependency.\n\
00204 \n\
00205 string key                     # tag label\n\
00206 string value                   # corresponding value\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geographic_msgs/MapFeature\n\
00210 # Geographic map feature.\n\
00211 #\n\
00212 # A list of WayPoint IDs for features like streets, highways, hiking\n\
00213 # trails, the outlines of buildings and parking lots in sequential\n\
00214 # order.\n\
00215 #\n\
00216 # Feature lists may also contain other feature lists as members.\n\
00217 \n\
00218 uuid_msgs/UniqueID   id         # Unique feature identifier\n\
00219 uuid_msgs/UniqueID[] components # Sequence of feature components\n\
00220 KeyValue[] props                # Key/value properties for this feature\n\
00221 \n\
00222 ";
00223   }
00224 
00225   static const char* value(const  ::geographic_msgs::GeographicMap_<ContainerAllocator> &) { return value(); } 
00226 };
00227 
00228 template<class ContainerAllocator> struct HasHeader< ::geographic_msgs::GeographicMap_<ContainerAllocator> > : public TrueType {};
00229 template<class ContainerAllocator> struct HasHeader< const ::geographic_msgs::GeographicMap_<ContainerAllocator> > : public TrueType {};
00230 } // namespace message_traits
00231 } // namespace ros
00232 
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237 
00238 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::GeographicMap_<ContainerAllocator> >
00239 {
00240   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241   {
00242     stream.next(m.header);
00243     stream.next(m.id);
00244     stream.next(m.bounds);
00245     stream.next(m.points);
00246     stream.next(m.features);
00247     stream.next(m.props);
00248   }
00249 
00250   ROS_DECLARE_ALLINONE_SERIALIZER;
00251 }; // struct GeographicMap_
00252 } // namespace serialization
00253 } // namespace ros
00254 
00255 namespace ros
00256 {
00257 namespace message_operations
00258 {
00259 
00260 template<class ContainerAllocator>
00261 struct Printer< ::geographic_msgs::GeographicMap_<ContainerAllocator> >
00262 {
00263   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::GeographicMap_<ContainerAllocator> & v) 
00264   {
00265     s << indent << "header: ";
00266 s << std::endl;
00267     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00268     s << indent << "id: ";
00269 s << std::endl;
00270     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.id);
00271     s << indent << "bounds: ";
00272 s << std::endl;
00273     Printer< ::geographic_msgs::BoundingBox_<ContainerAllocator> >::stream(s, indent + "  ", v.bounds);
00274     s << indent << "points[]" << std::endl;
00275     for (size_t i = 0; i < v.points.size(); ++i)
00276     {
00277       s << indent << "  points[" << i << "]: ";
00278       s << std::endl;
00279       s << indent;
00280       Printer< ::geographic_msgs::WayPoint_<ContainerAllocator> >::stream(s, indent + "    ", v.points[i]);
00281     }
00282     s << indent << "features[]" << std::endl;
00283     for (size_t i = 0; i < v.features.size(); ++i)
00284     {
00285       s << indent << "  features[" << i << "]: ";
00286       s << std::endl;
00287       s << indent;
00288       Printer< ::geographic_msgs::MapFeature_<ContainerAllocator> >::stream(s, indent + "    ", v.features[i]);
00289     }
00290     s << indent << "props[]" << std::endl;
00291     for (size_t i = 0; i < v.props.size(); ++i)
00292     {
00293       s << indent << "  props[" << i << "]: ";
00294       s << std::endl;
00295       s << indent;
00296       Printer< ::geographic_msgs::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.props[i]);
00297     }
00298   }
00299 };
00300 
00301 
00302 } // namespace message_operations
00303 } // namespace ros
00304 
00305 #endif // GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAP_H
00306 


geographic_msgs
Author(s): Jack O'Quin
autogenerated on Mon Oct 6 2014 00:09:26