MapID.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-art_vehicle/doc_stacks/2013-09-24_10-35-44.297713/art_vehicle/art_msgs/msg/MapID.msg */
00002 #ifndef ART_MSGS_MESSAGE_MAPID_H
00003 #define ART_MSGS_MESSAGE_MAPID_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 
00018 namespace art_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct MapID_ {
00022   typedef MapID_<ContainerAllocator> Type;
00023 
00024   MapID_()
00025   : seg(0)
00026   , lane(0)
00027   , pt(0)
00028   {
00029   }
00030 
00031   MapID_(const ContainerAllocator& _alloc)
00032   : seg(0)
00033   , lane(0)
00034   , pt(0)
00035   {
00036   }
00037 
00038   typedef uint16_t _seg_type;
00039   uint16_t seg;
00040 
00041   typedef uint16_t _lane_type;
00042   uint16_t lane;
00043 
00044   typedef uint16_t _pt_type;
00045   uint16_t pt;
00046 
00047   enum { NULL_ID = 65535 };
00048 
00049   typedef boost::shared_ptr< ::art_msgs::MapID_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::art_msgs::MapID_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct MapID
00053 typedef  ::art_msgs::MapID_<std::allocator<void> > MapID;
00054 
00055 typedef boost::shared_ptr< ::art_msgs::MapID> MapIDPtr;
00056 typedef boost::shared_ptr< ::art_msgs::MapID const> MapIDConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::MapID_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::art_msgs::MapID_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace art_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::art_msgs::MapID_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::art_msgs::MapID_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::art_msgs::MapID_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "19289d0a831d333d542743932b12dadc";
00078   }
00079 
00080   static const char* value(const  ::art_msgs::MapID_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x19289d0a831d333dULL;
00082   static const uint64_t static_value2 = 0x542743932b12dadcULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::art_msgs::MapID_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "art_msgs/MapID";
00090   }
00091 
00092   static const char* value(const  ::art_msgs::MapID_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::art_msgs::MapID_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "# Road map identifier for segments, lanes and way-points.\n\
00100 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00101 \n\
00102 uint16 NULL_ID = 65535\n\
00103 \n\
00104 uint16 seg      # segment ID\n\
00105 uint16 lane     # lane ID\n\
00106 uint16 pt       # way-point ID\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::art_msgs::MapID_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::MapID_<ContainerAllocator> > : public TrueType {};
00115 } // namespace message_traits
00116 } // namespace ros
00117 
00118 namespace ros
00119 {
00120 namespace serialization
00121 {
00122 
00123 template<class ContainerAllocator> struct Serializer< ::art_msgs::MapID_<ContainerAllocator> >
00124 {
00125   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00126   {
00127     stream.next(m.seg);
00128     stream.next(m.lane);
00129     stream.next(m.pt);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct MapID_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::art_msgs::MapID_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::MapID_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "seg: ";
00148     Printer<uint16_t>::stream(s, indent + "  ", v.seg);
00149     s << indent << "lane: ";
00150     Printer<uint16_t>::stream(s, indent + "  ", v.lane);
00151     s << indent << "pt: ";
00152     Printer<uint16_t>::stream(s, indent + "  ", v.pt);
00153   }
00154 };
00155 
00156 
00157 } // namespace message_operations
00158 } // namespace ros
00159 
00160 #endif // ART_MSGS_MESSAGE_MAPID_H
00161 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


art_msgs
Author(s): Jack O'Quin
autogenerated on Tue Sep 24 2013 10:40:45