Go to the documentation of this file.00001
00002 #ifndef ART_MSGS_MESSAGE_LANEMARKING_H
00003 #define ART_MSGS_MESSAGE_LANEMARKING_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 LaneMarking_ {
00022 typedef LaneMarking_<ContainerAllocator> Type;
00023
00024 LaneMarking_()
00025 : lane_marking(0)
00026 {
00027 }
00028
00029 LaneMarking_(const ContainerAllocator& _alloc)
00030 : lane_marking(0)
00031 {
00032 }
00033
00034 typedef int16_t _lane_marking_type;
00035 int16_t lane_marking;
00036
00037 enum { DOUBLE_YELLOW = 0 };
00038 enum { SOLID_YELLOW = 1 };
00039 enum { SOLID_WHITE = 2 };
00040 enum { BROKEN_WHITE = 3 };
00041 enum { UNDEFINED = 4 };
00042
00043 typedef boost::shared_ptr< ::art_msgs::LaneMarking_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::art_msgs::LaneMarking_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::art_msgs::LaneMarking_<std::allocator<void> > LaneMarking;
00048
00049 typedef boost::shared_ptr< ::art_msgs::LaneMarking> LaneMarkingPtr;
00050 typedef boost::shared_ptr< ::art_msgs::LaneMarking const> LaneMarkingConstPtr;
00051
00052
00053 template<typename ContainerAllocator>
00054 std::ostream& operator<<(std::ostream& s, const ::art_msgs::LaneMarking_<ContainerAllocator> & v)
00055 {
00056 ros::message_operations::Printer< ::art_msgs::LaneMarking_<ContainerAllocator> >::stream(s, "", v);
00057 return s;}
00058
00059 }
00060
00061 namespace ros
00062 {
00063 namespace message_traits
00064 {
00065 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LaneMarking_<ContainerAllocator> > : public TrueType {};
00066 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LaneMarking_<ContainerAllocator> const> : public TrueType {};
00067 template<class ContainerAllocator>
00068 struct MD5Sum< ::art_msgs::LaneMarking_<ContainerAllocator> > {
00069 static const char* value()
00070 {
00071 return "39a90d328b8d3f3a2f63e9f13330afca";
00072 }
00073
00074 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); }
00075 static const uint64_t static_value1 = 0x39a90d328b8d3f3aULL;
00076 static const uint64_t static_value2 = 0x2f63e9f13330afcaULL;
00077 };
00078
00079 template<class ContainerAllocator>
00080 struct DataType< ::art_msgs::LaneMarking_<ContainerAllocator> > {
00081 static const char* value()
00082 {
00083 return "art_msgs/LaneMarking";
00084 }
00085
00086 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); }
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct Definition< ::art_msgs::LaneMarking_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "# Route Network Definition File lane marking\n\
00094 # $Id: LaneMarking.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00095 \n\
00096 int16 DOUBLE_YELLOW = 0\n\
00097 int16 SOLID_YELLOW = 1\n\
00098 int16 SOLID_WHITE = 2\n\
00099 int16 BROKEN_WHITE = 3\n\
00100 int16 UNDEFINED = 4\n\
00101 \n\
00102 int16 lane_marking\n\
00103 \n\
00104 ";
00105 }
00106
00107 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::LaneMarking_<ContainerAllocator> > : public TrueType {};
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::art_msgs::LaneMarking_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.lane_marking);
00124 }
00125
00126 ROS_DECLARE_ALLINONE_SERIALIZER;
00127 };
00128 }
00129 }
00130
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135
00136 template<class ContainerAllocator>
00137 struct Printer< ::art_msgs::LaneMarking_<ContainerAllocator> >
00138 {
00139 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::LaneMarking_<ContainerAllocator> & v)
00140 {
00141 s << indent << "lane_marking: ";
00142 Printer<int16_t>::stream(s, indent + " ", v.lane_marking);
00143 }
00144 };
00145
00146
00147 }
00148 }
00149
00150 #endif // ART_MSGS_MESSAGE_LANEMARKING_H
00151