ArtLanes.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-art_vehicle/doc_stacks/2014-01-03_11-05-32.392273/art_vehicle/art_msgs/msg/ArtLanes.msg */
00002 #ifndef ART_MSGS_MESSAGE_ARTLANES_H
00003 #define ART_MSGS_MESSAGE_ARTLANES_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 "art_msgs/ArtQuadrilateral.h"
00019 
00020 namespace art_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ArtLanes_ {
00024   typedef ArtLanes_<ContainerAllocator> Type;
00025 
00026   ArtLanes_()
00027   : header()
00028   , polygons()
00029   {
00030   }
00031 
00032   ArtLanes_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , polygons(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::art_msgs::ArtQuadrilateral_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::art_msgs::ArtQuadrilateral_<ContainerAllocator> >::other >  _polygons_type;
00042   std::vector< ::art_msgs::ArtQuadrilateral_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::art_msgs::ArtQuadrilateral_<ContainerAllocator> >::other >  polygons;
00043 
00044 
00045   typedef boost::shared_ptr< ::art_msgs::ArtLanes_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::art_msgs::ArtLanes_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct ArtLanes
00049 typedef  ::art_msgs::ArtLanes_<std::allocator<void> > ArtLanes;
00050 
00051 typedef boost::shared_ptr< ::art_msgs::ArtLanes> ArtLanesPtr;
00052 typedef boost::shared_ptr< ::art_msgs::ArtLanes const> ArtLanesConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::ArtLanes_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::art_msgs::ArtLanes_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace art_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::art_msgs::ArtLanes_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::art_msgs::ArtLanes_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::art_msgs::ArtLanes_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "384de56fb723b4265b396fcf86b17531";
00074   }
00075 
00076   static const char* value(const  ::art_msgs::ArtLanes_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x384de56fb723b426ULL;
00078   static const uint64_t static_value2 = 0x5b396fcf86b17531ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::art_msgs::ArtLanes_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "art_msgs/ArtLanes";
00086   }
00087 
00088   static const char* value(const  ::art_msgs::ArtLanes_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::art_msgs::ArtLanes_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# ART lanes message\n\
00096 # $Id: ArtLanes.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00097 \n\
00098 Header header\n\
00099 ArtQuadrilateral[] polygons\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: std_msgs/Header\n\
00103 # Standard metadata for higher-level stamped data types.\n\
00104 # This is generally used to communicate timestamped data \n\
00105 # in a particular coordinate frame.\n\
00106 # \n\
00107 # sequence ID: consecutively increasing ID \n\
00108 uint32 seq\n\
00109 #Two-integer timestamp that is expressed as:\n\
00110 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00111 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00112 # time-handling sugar is provided by the client library\n\
00113 time stamp\n\
00114 #Frame this data is associated with\n\
00115 # 0: no frame\n\
00116 # 1: global frame\n\
00117 string frame_id\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: art_msgs/ArtQuadrilateral\n\
00121 # ART quadrilateral polygon\n\
00122 # $Id: ArtQuadrilateral.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00123 \n\
00124 # Each of these polygons is a quadrilateral.  The four vertex points\n\
00125 # are ordered relative to the heading of the lane containing it.\n\
00126 \n\
00127 geometry_msgs/Polygon poly\n\
00128 int32 bottom_left  = 0\n\
00129 int32 top_left     = 1\n\
00130 int32 top_right    = 2\n\
00131 int32 bottom_right = 3\n\
00132 int32 quad_size = 4\n\
00133 \n\
00134 geometry_msgs/Point midpoint # Middle of the polygon\n\
00135 \n\
00136 float32 heading         # average of right and left boundary headings\n\
00137 float32 length          # length of the polygon\n\
00138 int32 poly_id           # unique MapLanes ID\n\
00139 \n\
00140 bool is_stop            # this poly has a stop waypoint\n\
00141 bool is_transition      # not a lane polygon, no waypoint\n\
00142 bool contains_way       # both start_way and end_way are the contained waypoint\n\
00143 \n\
00144 MapID start_way\n\
00145 MapID end_way\n\
00146 \n\
00147 LaneMarking left_boundary\n\
00148 LaneMarking right_boundary\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Polygon\n\
00152 #A specification of a polygon where the first and last points are assumed to be connected\n\
00153 Point32[] points\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: geometry_msgs/Point32\n\
00157 # This contains the position of a point in free space(with 32 bits of precision).\n\
00158 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00159 # \n\
00160 # This recommendation is to promote interoperability.  \n\
00161 #\n\
00162 # This message is designed to take up less space when sending\n\
00163 # lots of points at once, as in the case of a PointCloud.  \n\
00164 \n\
00165 float32 x\n\
00166 float32 y\n\
00167 float32 z\n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/Point\n\
00170 # This contains the position of a point in free space\n\
00171 float64 x\n\
00172 float64 y\n\
00173 float64 z\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: art_msgs/MapID\n\
00177 # Road map identifier for segments, lanes and way-points.\n\
00178 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00179 \n\
00180 uint16 NULL_ID = 65535\n\
00181 \n\
00182 uint16 seg      # segment ID\n\
00183 uint16 lane     # lane ID\n\
00184 uint16 pt       # way-point ID\n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: art_msgs/LaneMarking\n\
00188 # Route Network Definition File lane marking\n\
00189 # $Id: LaneMarking.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00190 \n\
00191 int16 DOUBLE_YELLOW = 0\n\
00192 int16 SOLID_YELLOW = 1\n\
00193 int16 SOLID_WHITE = 2\n\
00194 int16 BROKEN_WHITE = 3\n\
00195 int16 UNDEFINED = 4\n\
00196 \n\
00197 int16 lane_marking\n\
00198 \n\
00199 ";
00200   }
00201 
00202   static const char* value(const  ::art_msgs::ArtLanes_<ContainerAllocator> &) { return value(); } 
00203 };
00204 
00205 template<class ContainerAllocator> struct HasHeader< ::art_msgs::ArtLanes_<ContainerAllocator> > : public TrueType {};
00206 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::ArtLanes_<ContainerAllocator> > : public TrueType {};
00207 } // namespace message_traits
00208 } // namespace ros
00209 
00210 namespace ros
00211 {
00212 namespace serialization
00213 {
00214 
00215 template<class ContainerAllocator> struct Serializer< ::art_msgs::ArtLanes_<ContainerAllocator> >
00216 {
00217   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00218   {
00219     stream.next(m.header);
00220     stream.next(m.polygons);
00221   }
00222 
00223   ROS_DECLARE_ALLINONE_SERIALIZER;
00224 }; // struct ArtLanes_
00225 } // namespace serialization
00226 } // namespace ros
00227 
00228 namespace ros
00229 {
00230 namespace message_operations
00231 {
00232 
00233 template<class ContainerAllocator>
00234 struct Printer< ::art_msgs::ArtLanes_<ContainerAllocator> >
00235 {
00236   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::ArtLanes_<ContainerAllocator> & v) 
00237   {
00238     s << indent << "header: ";
00239 s << std::endl;
00240     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00241     s << indent << "polygons[]" << std::endl;
00242     for (size_t i = 0; i < v.polygons.size(); ++i)
00243     {
00244       s << indent << "  polygons[" << i << "]: ";
00245       s << std::endl;
00246       s << indent;
00247       Printer< ::art_msgs::ArtQuadrilateral_<ContainerAllocator> >::stream(s, indent + "    ", v.polygons[i]);
00248     }
00249   }
00250 };
00251 
00252 
00253 } // namespace message_operations
00254 } // namespace ros
00255 
00256 #endif // ART_MSGS_MESSAGE_ARTLANES_H
00257 


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:05