RouteSegment.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/RouteSegment.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_ROUTESEGMENT_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_ROUTESEGMENT_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 "uuid_msgs/UniqueID.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 RouteSegment_ {
00026   typedef RouteSegment_<ContainerAllocator> Type;
00027 
00028   RouteSegment_()
00029   : id()
00030   , start()
00031   , end()
00032   , props()
00033   {
00034   }
00035 
00036   RouteSegment_(const ContainerAllocator& _alloc)
00037   : id(_alloc)
00038   , start(_alloc)
00039   , end(_alloc)
00040   , props(_alloc)
00041   {
00042   }
00043 
00044   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _id_type;
00045    ::uuid_msgs::UniqueID_<ContainerAllocator>  id;
00046 
00047   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _start_type;
00048    ::uuid_msgs::UniqueID_<ContainerAllocator>  start;
00049 
00050   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _end_type;
00051    ::uuid_msgs::UniqueID_<ContainerAllocator>  end;
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::RouteSegment_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::geographic_msgs::RouteSegment_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct RouteSegment
00061 typedef  ::geographic_msgs::RouteSegment_<std::allocator<void> > RouteSegment;
00062 
00063 typedef boost::shared_ptr< ::geographic_msgs::RouteSegment> RouteSegmentPtr;
00064 typedef boost::shared_ptr< ::geographic_msgs::RouteSegment const> RouteSegmentConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::RouteSegment_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::geographic_msgs::RouteSegment_<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::RouteSegment_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::RouteSegment_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::geographic_msgs::RouteSegment_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "8583d1e2ddf1891c3934a5d2ed9a799c";
00086   }
00087 
00088   static const char* value(const  ::geographic_msgs::RouteSegment_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0x8583d1e2ddf1891cULL;
00090   static const uint64_t static_value2 = 0x3934a5d2ed9a799cULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::geographic_msgs::RouteSegment_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "geographic_msgs/RouteSegment";
00098   }
00099 
00100   static const char* value(const  ::geographic_msgs::RouteSegment_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::geographic_msgs::RouteSegment_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "# Route network segment.\n\
00108 #\n\
00109 # This is one directed edge of a RouteNetwork graph. It represents a\n\
00110 # known path from one way point to another.  If the path is two-way,\n\
00111 # there will be another RouteSegment with \"start\" and \"end\" reversed.\n\
00112 \n\
00113 uuid_msgs/UniqueID id           # Unique identifier for this segment\n\
00114 \n\
00115 uuid_msgs/UniqueID start        # beginning way point of segment\n\
00116 uuid_msgs/UniqueID end          # ending way point of segment\n\
00117 \n\
00118 KeyValue[] props                # segment properties\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: uuid_msgs/UniqueID\n\
00122 # A universally unique identifier (UUID).\n\
00123 #\n\
00124 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00125 #  http://tools.ietf.org/html/rfc4122.html\n\
00126 \n\
00127 uint8[16] uuid\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geographic_msgs/KeyValue\n\
00131 # Geographic map tag (key, value) pair\n\
00132 #\n\
00133 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00134 # avoid introducing a trivial stack dependency.\n\
00135 \n\
00136 string key                     # tag label\n\
00137 string value                   # corresponding value\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::geographic_msgs::RouteSegment_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace serialization
00151 {
00152 
00153 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::RouteSegment_<ContainerAllocator> >
00154 {
00155   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00156   {
00157     stream.next(m.id);
00158     stream.next(m.start);
00159     stream.next(m.end);
00160     stream.next(m.props);
00161   }
00162 
00163   ROS_DECLARE_ALLINONE_SERIALIZER;
00164 }; // struct RouteSegment_
00165 } // namespace serialization
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172 
00173 template<class ContainerAllocator>
00174 struct Printer< ::geographic_msgs::RouteSegment_<ContainerAllocator> >
00175 {
00176   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::RouteSegment_<ContainerAllocator> & v) 
00177   {
00178     s << indent << "id: ";
00179 s << std::endl;
00180     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.id);
00181     s << indent << "start: ";
00182 s << std::endl;
00183     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.start);
00184     s << indent << "end: ";
00185 s << std::endl;
00186     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.end);
00187     s << indent << "props[]" << std::endl;
00188     for (size_t i = 0; i < v.props.size(); ++i)
00189     {
00190       s << indent << "  props[" << i << "]: ";
00191       s << std::endl;
00192       s << indent;
00193       Printer< ::geographic_msgs::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.props[i]);
00194     }
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // GEOGRAPHIC_MSGS_MESSAGE_ROUTESEGMENT_H
00203 


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