$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-art_vehicle/doc_stacks/2013-03-01_14-08-11.497537/art_vehicle/art_msgs/msg/LaneMarking.msg */ 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 private: 00044 static const char* __s_getDataType_() { return "art_msgs/LaneMarking"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "39a90d328b8d3f3a2f63e9f13330afca"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# Route Network Definition File lane marking\n\ 00059 # $Id: LaneMarking.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00060 \n\ 00061 int16 DOUBLE_YELLOW = 0\n\ 00062 int16 SOLID_YELLOW = 1\n\ 00063 int16 SOLID_WHITE = 2\n\ 00064 int16 BROKEN_WHITE = 3\n\ 00065 int16 UNDEFINED = 4\n\ 00066 \n\ 00067 int16 lane_marking\n\ 00068 \n\ 00069 "; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00076 { 00077 ros::serialization::OStream stream(write_ptr, 1000000000); 00078 ros::serialization::serialize(stream, lane_marking); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00083 { 00084 ros::serialization::IStream stream(read_ptr, 1000000000); 00085 ros::serialization::deserialize(stream, lane_marking); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 size += ros::serialization::serializationLength(lane_marking); 00093 return size; 00094 } 00095 00096 typedef boost::shared_ptr< ::art_msgs::LaneMarking_<ContainerAllocator> > Ptr; 00097 typedef boost::shared_ptr< ::art_msgs::LaneMarking_<ContainerAllocator> const> ConstPtr; 00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00099 }; // struct LaneMarking 00100 typedef ::art_msgs::LaneMarking_<std::allocator<void> > LaneMarking; 00101 00102 typedef boost::shared_ptr< ::art_msgs::LaneMarking> LaneMarkingPtr; 00103 typedef boost::shared_ptr< ::art_msgs::LaneMarking const> LaneMarkingConstPtr; 00104 00105 00106 template<typename ContainerAllocator> 00107 std::ostream& operator<<(std::ostream& s, const ::art_msgs::LaneMarking_<ContainerAllocator> & v) 00108 { 00109 ros::message_operations::Printer< ::art_msgs::LaneMarking_<ContainerAllocator> >::stream(s, "", v); 00110 return s;} 00111 00112 } // namespace art_msgs 00113 00114 namespace ros 00115 { 00116 namespace message_traits 00117 { 00118 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LaneMarking_<ContainerAllocator> > : public TrueType {}; 00119 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LaneMarking_<ContainerAllocator> const> : public TrueType {}; 00120 template<class ContainerAllocator> 00121 struct MD5Sum< ::art_msgs::LaneMarking_<ContainerAllocator> > { 00122 static const char* value() 00123 { 00124 return "39a90d328b8d3f3a2f63e9f13330afca"; 00125 } 00126 00127 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); } 00128 static const uint64_t static_value1 = 0x39a90d328b8d3f3aULL; 00129 static const uint64_t static_value2 = 0x2f63e9f13330afcaULL; 00130 }; 00131 00132 template<class ContainerAllocator> 00133 struct DataType< ::art_msgs::LaneMarking_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "art_msgs/LaneMarking"; 00137 } 00138 00139 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); } 00140 }; 00141 00142 template<class ContainerAllocator> 00143 struct Definition< ::art_msgs::LaneMarking_<ContainerAllocator> > { 00144 static const char* value() 00145 { 00146 return "# Route Network Definition File lane marking\n\ 00147 # $Id: LaneMarking.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00148 \n\ 00149 int16 DOUBLE_YELLOW = 0\n\ 00150 int16 SOLID_YELLOW = 1\n\ 00151 int16 SOLID_WHITE = 2\n\ 00152 int16 BROKEN_WHITE = 3\n\ 00153 int16 UNDEFINED = 4\n\ 00154 \n\ 00155 int16 lane_marking\n\ 00156 \n\ 00157 "; 00158 } 00159 00160 static const char* value(const ::art_msgs::LaneMarking_<ContainerAllocator> &) { return value(); } 00161 }; 00162 00163 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::LaneMarking_<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< ::art_msgs::LaneMarking_<ContainerAllocator> > 00173 { 00174 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00175 { 00176 stream.next(m.lane_marking); 00177 } 00178 00179 ROS_DECLARE_ALLINONE_SERIALIZER; 00180 }; // struct LaneMarking_ 00181 } // namespace serialization 00182 } // namespace ros 00183 00184 namespace ros 00185 { 00186 namespace message_operations 00187 { 00188 00189 template<class ContainerAllocator> 00190 struct Printer< ::art_msgs::LaneMarking_<ContainerAllocator> > 00191 { 00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::LaneMarking_<ContainerAllocator> & v) 00193 { 00194 s << indent << "lane_marking: "; 00195 Printer<int16_t>::stream(s, indent + " ", v.lane_marking); 00196 } 00197 }; 00198 00199 00200 } // namespace message_operations 00201 } // namespace ros 00202 00203 #endif // ART_MSGS_MESSAGE_LANEMARKING_H 00204