RouteNetwork.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-geographic_info/doc_stacks/2013-12-28_17-00-50.368681/geographic_info/geographic_msgs/msg/RouteNetwork.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_ROUTENETWORK_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_ROUTENETWORK_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/RouteSegment.h"
00022 #include "geographic_msgs/KeyValue.h"
00023 
00024 namespace geographic_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct RouteNetwork_ {
00028   typedef RouteNetwork_<ContainerAllocator> Type;
00029 
00030   RouteNetwork_()
00031   : header()
00032   , id()
00033   , bounds()
00034   , points()
00035   , segments()
00036   , props()
00037   {
00038   }
00039 
00040   RouteNetwork_(const ContainerAllocator& _alloc)
00041   : header(_alloc)
00042   , id(_alloc)
00043   , bounds(_alloc)
00044   , points(_alloc)
00045   , segments(_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::RouteSegment_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::RouteSegment_<ContainerAllocator> >::other >  _segments_type;
00063   std::vector< ::geographic_msgs::RouteSegment_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::RouteSegment_<ContainerAllocator> >::other >  segments;
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::RouteNetwork_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::geographic_msgs::RouteNetwork_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct RouteNetwork
00073 typedef  ::geographic_msgs::RouteNetwork_<std::allocator<void> > RouteNetwork;
00074 
00075 typedef boost::shared_ptr< ::geographic_msgs::RouteNetwork> RouteNetworkPtr;
00076 typedef boost::shared_ptr< ::geographic_msgs::RouteNetwork const> RouteNetworkConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::RouteNetwork_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::geographic_msgs::RouteNetwork_<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::RouteNetwork_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::RouteNetwork_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::geographic_msgs::RouteNetwork_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "fd717c0a34a7c954deed32c6847f30a8";
00098   }
00099 
00100   static const char* value(const  ::geographic_msgs::RouteNetwork_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0xfd717c0a34a7c954ULL;
00102   static const uint64_t static_value2 = 0xdeed32c6847f30a8ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::geographic_msgs::RouteNetwork_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "geographic_msgs/RouteNetwork";
00110   }
00111 
00112   static const char* value(const  ::geographic_msgs::RouteNetwork_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::geographic_msgs::RouteNetwork_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "# Geographic map route network.\n\
00120 #\n\
00121 # A directed graph of WayPoint nodes and RouteSegment edges.  This\n\
00122 # information is extracted from the more-detailed contents of a\n\
00123 # GeographicMap.  A RouteNetwork contains only the way points and\n\
00124 # route segments of interest for path planning.\n\
00125 \n\
00126 Header          header\n\
00127 \n\
00128 uuid_msgs/UniqueID id    # This route network identifier\n\
00129 BoundingBox     bounds   # 2D bounding box for network\n\
00130 \n\
00131 WayPoint[]      points   # Way points in this network\n\
00132 RouteSegment[]  segments # Directed edges of this network\n\
00133 \n\
00134 KeyValue[]      props    # Network key/value properties\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: std_msgs/Header\n\
00138 # Standard metadata for higher-level stamped data types.\n\
00139 # This is generally used to communicate timestamped data \n\
00140 # in a particular coordinate frame.\n\
00141 # \n\
00142 # sequence ID: consecutively increasing ID \n\
00143 uint32 seq\n\
00144 #Two-integer timestamp that is expressed as:\n\
00145 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00146 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00147 # time-handling sugar is provided by the client library\n\
00148 time stamp\n\
00149 #Frame this data is associated with\n\
00150 # 0: no frame\n\
00151 # 1: global frame\n\
00152 string frame_id\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: uuid_msgs/UniqueID\n\
00156 # A universally unique identifier (UUID).\n\
00157 #\n\
00158 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00159 #  http://tools.ietf.org/html/rfc4122.html\n\
00160 \n\
00161 uint8[16] uuid\n\
00162 \n\
00163 ================================================================================\n\
00164 MSG: geographic_msgs/BoundingBox\n\
00165 # Geographic map bounding box. \n\
00166 #\n\
00167 # The two GeoPoints denote diagonally opposite corners of the box.\n\
00168 #\n\
00169 # If min_pt.latitude is NaN, the bounding box is \"global\", matching\n\
00170 # any valid latitude, longitude and altitude.\n\
00171 #\n\
00172 # If min_pt.altitude is NaN, the bounding box is two-dimensional and\n\
00173 # matches any altitude within the specified latitude and longitude\n\
00174 # range.\n\
00175 \n\
00176 GeoPoint min_pt         # lowest and most Southwestern corner\n\
00177 GeoPoint max_pt         # highest and most Northeastern corner\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: geographic_msgs/GeoPoint\n\
00181 # Geographic point, using the WGS 84 reference ellipsoid.\n\
00182 \n\
00183 # Latitude [degrees]. Positive is north of equator; negative is south\n\
00184 # (-90 <= latitude <= +90).\n\
00185 float64 latitude\n\
00186 \n\
00187 # Longitude [degrees]. Positive is east of prime meridian; negative is\n\
00188 # west (-180 <= longitude <= +180). At the poles, latitude is -90 or\n\
00189 # +90, and longitude is irrelevant, but must be in range.\n\
00190 float64 longitude\n\
00191 \n\
00192 # Altitude [m]. Positive is above the WGS 84 ellipsoid (NaN if unspecified).\n\
00193 float64 altitude\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geographic_msgs/WayPoint\n\
00197 # Way-point element for a geographic map.\n\
00198 \n\
00199 uuid_msgs/UniqueID id   # Unique way-point identifier\n\
00200 GeoPoint   position     # Position relative to WGS 84 ellipsoid\n\
00201 KeyValue[] props        # Key/value properties for this point\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: geographic_msgs/KeyValue\n\
00205 # Geographic map tag (key, value) pair\n\
00206 #\n\
00207 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00208 # avoid introducing a trivial stack dependency.\n\
00209 \n\
00210 string key                     # tag label\n\
00211 string value                   # corresponding value\n\
00212 \n\
00213 ================================================================================\n\
00214 MSG: geographic_msgs/RouteSegment\n\
00215 # Route network segment.\n\
00216 #\n\
00217 # This is one directed edge of a RouteNetwork graph. It represents a\n\
00218 # known path from one way point to another.  If the path is two-way,\n\
00219 # there will be another RouteSegment with \"start\" and \"end\" reversed.\n\
00220 \n\
00221 uuid_msgs/UniqueID id           # Unique identifier for this segment\n\
00222 \n\
00223 uuid_msgs/UniqueID start        # beginning way point of segment\n\
00224 uuid_msgs/UniqueID end          # ending way point of segment\n\
00225 \n\
00226 KeyValue[] props                # segment properties\n\
00227 \n\
00228 ";
00229   }
00230 
00231   static const char* value(const  ::geographic_msgs::RouteNetwork_<ContainerAllocator> &) { return value(); } 
00232 };
00233 
00234 template<class ContainerAllocator> struct HasHeader< ::geographic_msgs::RouteNetwork_<ContainerAllocator> > : public TrueType {};
00235 template<class ContainerAllocator> struct HasHeader< const ::geographic_msgs::RouteNetwork_<ContainerAllocator> > : public TrueType {};
00236 } // namespace message_traits
00237 } // namespace ros
00238 
00239 namespace ros
00240 {
00241 namespace serialization
00242 {
00243 
00244 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::RouteNetwork_<ContainerAllocator> >
00245 {
00246   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00247   {
00248     stream.next(m.header);
00249     stream.next(m.id);
00250     stream.next(m.bounds);
00251     stream.next(m.points);
00252     stream.next(m.segments);
00253     stream.next(m.props);
00254   }
00255 
00256   ROS_DECLARE_ALLINONE_SERIALIZER;
00257 }; // struct RouteNetwork_
00258 } // namespace serialization
00259 } // namespace ros
00260 
00261 namespace ros
00262 {
00263 namespace message_operations
00264 {
00265 
00266 template<class ContainerAllocator>
00267 struct Printer< ::geographic_msgs::RouteNetwork_<ContainerAllocator> >
00268 {
00269   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::RouteNetwork_<ContainerAllocator> & v) 
00270   {
00271     s << indent << "header: ";
00272 s << std::endl;
00273     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00274     s << indent << "id: ";
00275 s << std::endl;
00276     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.id);
00277     s << indent << "bounds: ";
00278 s << std::endl;
00279     Printer< ::geographic_msgs::BoundingBox_<ContainerAllocator> >::stream(s, indent + "  ", v.bounds);
00280     s << indent << "points[]" << std::endl;
00281     for (size_t i = 0; i < v.points.size(); ++i)
00282     {
00283       s << indent << "  points[" << i << "]: ";
00284       s << std::endl;
00285       s << indent;
00286       Printer< ::geographic_msgs::WayPoint_<ContainerAllocator> >::stream(s, indent + "    ", v.points[i]);
00287     }
00288     s << indent << "segments[]" << std::endl;
00289     for (size_t i = 0; i < v.segments.size(); ++i)
00290     {
00291       s << indent << "  segments[" << i << "]: ";
00292       s << std::endl;
00293       s << indent;
00294       Printer< ::geographic_msgs::RouteSegment_<ContainerAllocator> >::stream(s, indent + "    ", v.segments[i]);
00295     }
00296     s << indent << "props[]" << std::endl;
00297     for (size_t i = 0; i < v.props.size(); ++i)
00298     {
00299       s << indent << "  props[" << i << "]: ";
00300       s << std::endl;
00301       s << indent;
00302       Printer< ::geographic_msgs::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.props[i]);
00303     }
00304   }
00305 };
00306 
00307 
00308 } // namespace message_operations
00309 } // namespace ros
00310 
00311 #endif // GEOGRAPHIC_MSGS_MESSAGE_ROUTENETWORK_H
00312 


geographic_msgs
Author(s): Jack O'Quin
autogenerated on Sat Dec 28 2013 17:02:27