RoutePath.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/RoutePath.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_ROUTEPATH_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_ROUTEPATH_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 "uuid_msgs/UniqueID.h"
00020 #include "geographic_msgs/KeyValue.h"
00021 
00022 namespace geographic_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct RoutePath_ {
00026   typedef RoutePath_<ContainerAllocator> Type;
00027 
00028   RoutePath_()
00029   : header()
00030   , network()
00031   , segments()
00032   , props()
00033   {
00034   }
00035 
00036   RoutePath_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , network(_alloc)
00039   , segments(_alloc)
00040   , props(_alloc)
00041   {
00042   }
00043 
00044   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00045    ::std_msgs::Header_<ContainerAllocator>  header;
00046 
00047   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _network_type;
00048    ::uuid_msgs::UniqueID_<ContainerAllocator>  network;
00049 
00050   typedef std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  _segments_type;
00051   std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  segments;
00052 
00053   typedef std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  _props_type;
00054   std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  props;
00055 
00056 
00057   typedef boost::shared_ptr< ::geographic_msgs::RoutePath_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::geographic_msgs::RoutePath_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct RoutePath
00061 typedef  ::geographic_msgs::RoutePath_<std::allocator<void> > RoutePath;
00062 
00063 typedef boost::shared_ptr< ::geographic_msgs::RoutePath> RoutePathPtr;
00064 typedef boost::shared_ptr< ::geographic_msgs::RoutePath const> RoutePathConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::RoutePath_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::geographic_msgs::RoutePath_<ContainerAllocator> >::stream(s, "", v);
00071   return s;}
00072 
00073 } // namespace geographic_msgs
00074 
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::RoutePath_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::RoutePath_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::geographic_msgs::RoutePath_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "0aa2dd809a8091bdb4466dfefecbb8cf";
00086   }
00087 
00088   static const char* value(const  ::geographic_msgs::RoutePath_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0x0aa2dd809a8091bdULL;
00090   static const uint64_t static_value2 = 0xb4466dfefecbb8cfULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::geographic_msgs::RoutePath_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "geographic_msgs/RoutePath";
00098   }
00099 
00100   static const char* value(const  ::geographic_msgs::RoutePath_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::geographic_msgs::RoutePath_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "# Path through a route network.\n\
00108 #\n\
00109 # A path is a sequence of RouteSegment edges.  This information is\n\
00110 # extracted from a RouteNetwork graph.  A RoutePath lists the route\n\
00111 # segments needed to reach some chosen goal.\n\
00112 \n\
00113 Header header\n\
00114 \n\
00115 uuid_msgs/UniqueID   network    # Route network containing this path\n\
00116 uuid_msgs/UniqueID[] segments   # Sequence of RouteSegment IDs\n\
00117 KeyValue[]           props      # Key/value properties\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: std_msgs/Header\n\
00121 # Standard metadata for higher-level stamped data types.\n\
00122 # This is generally used to communicate timestamped data \n\
00123 # in a particular coordinate frame.\n\
00124 # \n\
00125 # sequence ID: consecutively increasing ID \n\
00126 uint32 seq\n\
00127 #Two-integer timestamp that is expressed as:\n\
00128 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00129 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00130 # time-handling sugar is provided by the client library\n\
00131 time stamp\n\
00132 #Frame this data is associated with\n\
00133 # 0: no frame\n\
00134 # 1: global frame\n\
00135 string frame_id\n\
00136 \n\
00137 ================================================================================\n\
00138 MSG: uuid_msgs/UniqueID\n\
00139 # A universally unique identifier (UUID).\n\
00140 #\n\
00141 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00142 #  http://tools.ietf.org/html/rfc4122.html\n\
00143 \n\
00144 uint8[16] uuid\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geographic_msgs/KeyValue\n\
00148 # Geographic map tag (key, value) pair\n\
00149 #\n\
00150 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00151 # avoid introducing a trivial stack dependency.\n\
00152 \n\
00153 string key                     # tag label\n\
00154 string value                   # corresponding value\n\
00155 \n\
00156 ";
00157   }
00158 
00159   static const char* value(const  ::geographic_msgs::RoutePath_<ContainerAllocator> &) { return value(); } 
00160 };
00161 
00162 template<class ContainerAllocator> struct HasHeader< ::geographic_msgs::RoutePath_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct HasHeader< const ::geographic_msgs::RoutePath_<ContainerAllocator> > : public TrueType {};
00164 } // namespace message_traits
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171 
00172 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::RoutePath_<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.network);
00178     stream.next(m.segments);
00179     stream.next(m.props);
00180   }
00181 
00182   ROS_DECLARE_ALLINONE_SERIALIZER;
00183 }; // struct RoutePath_
00184 } // namespace serialization
00185 } // namespace ros
00186 
00187 namespace ros
00188 {
00189 namespace message_operations
00190 {
00191 
00192 template<class ContainerAllocator>
00193 struct Printer< ::geographic_msgs::RoutePath_<ContainerAllocator> >
00194 {
00195   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::RoutePath_<ContainerAllocator> & v) 
00196   {
00197     s << indent << "header: ";
00198 s << std::endl;
00199     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00200     s << indent << "network: ";
00201 s << std::endl;
00202     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.network);
00203     s << indent << "segments[]" << std::endl;
00204     for (size_t i = 0; i < v.segments.size(); ++i)
00205     {
00206       s << indent << "  segments[" << i << "]: ";
00207       s << std::endl;
00208       s << indent;
00209       Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "    ", v.segments[i]);
00210     }
00211     s << indent << "props[]" << std::endl;
00212     for (size_t i = 0; i < v.props.size(); ++i)
00213     {
00214       s << indent << "  props[" << i << "]: ";
00215       s << std::endl;
00216       s << indent;
00217       Printer< ::geographic_msgs::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.props[i]);
00218     }
00219   }
00220 };
00221 
00222 
00223 } // namespace message_operations
00224 } // namespace ros
00225 
00226 #endif // GEOGRAPHIC_MSGS_MESSAGE_ROUTEPATH_H
00227 


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