RoadState.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/RoadState.msg */
00002 #ifndef ART_MSGS_MESSAGE_ROADSTATE_H
00003 #define ART_MSGS_MESSAGE_ROADSTATE_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 RoadState_ {
00022   typedef RoadState_<ContainerAllocator> Type;
00023 
00024   RoadState_()
00025   : state(0)
00026   {
00027   }
00028 
00029   RoadState_(const ContainerAllocator& _alloc)
00030   : state(0)
00031   {
00032   }
00033 
00034   typedef uint16_t _state_type;
00035   uint16_t state;
00036 
00037   enum { Init = 0 };
00038   enum { Block = 1 };
00039   enum { Evade = 2 };
00040   enum { Follow = 3 };
00041   enum { Pass = 4 };
00042   enum { Uturn = 5 };
00043   enum { WaitCross = 6 };
00044   enum { WaitLane = 7 };
00045   enum { WaitPass = 8 };
00046   enum { WaitStop = 9 };
00047   enum { Zone = 10 };
00048   enum { N_states = 11 };
00049 
00050   typedef boost::shared_ptr< ::art_msgs::RoadState_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::art_msgs::RoadState_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct RoadState
00054 typedef  ::art_msgs::RoadState_<std::allocator<void> > RoadState;
00055 
00056 typedef boost::shared_ptr< ::art_msgs::RoadState> RoadStatePtr;
00057 typedef boost::shared_ptr< ::art_msgs::RoadState const> RoadStateConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::RoadState_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::art_msgs::RoadState_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace art_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::art_msgs::RoadState_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::art_msgs::RoadState_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::art_msgs::RoadState_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "e033b3ead3b77d2e264d454d67d06e4d";
00079   }
00080 
00081   static const char* value(const  ::art_msgs::RoadState_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xe033b3ead3b77d2eULL;
00083   static const uint64_t static_value2 = 0x264d454d67d06e4dULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::art_msgs::RoadState_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "art_msgs/RoadState";
00091   }
00092 
00093   static const char* value(const  ::art_msgs::RoadState_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::art_msgs::RoadState_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# Navigator Road state values\n\
00101 # $Id: RoadState.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\
00102 \n\
00103 uint16 Init      = 0\n\
00104 uint16 Block     = 1\n\
00105 uint16 Evade     = 2\n\
00106 uint16 Follow    = 3\n\
00107 uint16 Pass      = 4\n\
00108 uint16 Uturn     = 5\n\
00109 uint16 WaitCross = 6\n\
00110 uint16 WaitLane  = 7\n\
00111 uint16 WaitPass  = 8\n\
00112 uint16 WaitStop  = 9\n\
00113 uint16 Zone      = 10\n\
00114 uint16 N_states  = 11\n\
00115 \n\
00116 uint16 state\n\
00117 \n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::art_msgs::RoadState_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::RoadState_<ContainerAllocator> > : public TrueType {};
00125 } // namespace message_traits
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132 
00133 template<class ContainerAllocator> struct Serializer< ::art_msgs::RoadState_<ContainerAllocator> >
00134 {
00135   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136   {
00137     stream.next(m.state);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct RoadState_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::art_msgs::RoadState_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::RoadState_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "state: ";
00156     Printer<uint16_t>::stream(s, indent + "  ", v.state);
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // ART_MSGS_MESSAGE_ROADSTATE_H
00165 
 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