Behavior.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/Behavior.msg */
00002 #ifndef ART_MSGS_MESSAGE_BEHAVIOR_H
00003 #define ART_MSGS_MESSAGE_BEHAVIOR_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 Behavior_ {
00022   typedef Behavior_<ContainerAllocator> Type;
00023 
00024   Behavior_()
00025   : value(0)
00026   {
00027   }
00028 
00029   Behavior_(const ContainerAllocator& _alloc)
00030   : value(0)
00031   {
00032   }
00033 
00034   typedef int16_t _value_type;
00035   int16_t value;
00036 
00037   enum { Abort = 0 };
00038   enum { Quit = 1 };
00039   enum { Pause = 2 };
00040   enum { Run = 3 };
00041   enum { Suspend = 4 };
00042   enum { Initialize = 5 };
00043   enum { Go = 6 };
00044   enum { NONE = 7 };
00045   enum { N_behaviors = 8 };
00046 
00047   typedef boost::shared_ptr< ::art_msgs::Behavior_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::art_msgs::Behavior_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct Behavior
00051 typedef  ::art_msgs::Behavior_<std::allocator<void> > Behavior;
00052 
00053 typedef boost::shared_ptr< ::art_msgs::Behavior> BehaviorPtr;
00054 typedef boost::shared_ptr< ::art_msgs::Behavior const> BehaviorConstPtr;
00055 
00056 
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::Behavior_<ContainerAllocator> & v)
00059 {
00060   ros::message_operations::Printer< ::art_msgs::Behavior_<ContainerAllocator> >::stream(s, "", v);
00061   return s;}
00062 
00063 } // namespace art_msgs
00064 
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Behavior_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Behavior_<ContainerAllocator>  const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::art_msgs::Behavior_<ContainerAllocator> > {
00073   static const char* value() 
00074   {
00075     return "88d96e38b2c952605ef152e7b2cc38ab";
00076   }
00077 
00078   static const char* value(const  ::art_msgs::Behavior_<ContainerAllocator> &) { return value(); } 
00079   static const uint64_t static_value1 = 0x88d96e38b2c95260ULL;
00080   static const uint64_t static_value2 = 0x5ef152e7b2cc38abULL;
00081 };
00082 
00083 template<class ContainerAllocator>
00084 struct DataType< ::art_msgs::Behavior_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "art_msgs/Behavior";
00088   }
00089 
00090   static const char* value(const  ::art_msgs::Behavior_<ContainerAllocator> &) { return value(); } 
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct Definition< ::art_msgs::Behavior_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "# ART Navigator behaviors (lower numbers have higher priority)\n\
00098 # $Id: Behavior.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\
00099 \n\
00100 # enumerated behavior values\n\
00101 int16 Abort       = 0\n\
00102 int16 Quit        = 1\n\
00103 int16 Pause       = 2\n\
00104 int16 Run         = 3\n\
00105 int16 Suspend     = 4\n\
00106 int16 Initialize  = 5\n\
00107 int16 Go          = 6\n\
00108 int16 NONE        = 7\n\
00109 int16 N_behaviors = 8\n\
00110 \n\
00111 int16 value\n\
00112 \n\
00113 ";
00114   }
00115 
00116   static const char* value(const  ::art_msgs::Behavior_<ContainerAllocator> &) { return value(); } 
00117 };
00118 
00119 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::Behavior_<ContainerAllocator> > : public TrueType {};
00120 } // namespace message_traits
00121 } // namespace ros
00122 
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127 
00128 template<class ContainerAllocator> struct Serializer< ::art_msgs::Behavior_<ContainerAllocator> >
00129 {
00130   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131   {
00132     stream.next(m.value);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct Behavior_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::art_msgs::Behavior_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::Behavior_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "value: ";
00151     Printer<int16_t>::stream(s, indent + "  ", v.value);
00152   }
00153 };
00154 
00155 
00156 } // namespace message_operations
00157 } // namespace ros
00158 
00159 #endif // ART_MSGS_MESSAGE_BEHAVIOR_H
00160 


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