EstopState.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/EstopState.msg */
00002 #ifndef ART_MSGS_MESSAGE_ESTOPSTATE_H
00003 #define ART_MSGS_MESSAGE_ESTOPSTATE_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 EstopState_ {
00022   typedef EstopState_<ContainerAllocator> Type;
00023 
00024   EstopState_()
00025   : state(0)
00026   {
00027   }
00028 
00029   EstopState_(const ContainerAllocator& _alloc)
00030   : state(0)
00031   {
00032   }
00033 
00034   typedef uint16_t _state_type;
00035   uint16_t state;
00036 
00037   enum { Pause = 0 };
00038   enum { Run = 1 };
00039   enum { Done = 2 };
00040   enum { Suspend = 3 };
00041   enum { N_states = 4 };
00042 
00043   typedef boost::shared_ptr< ::art_msgs::EstopState_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::art_msgs::EstopState_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct EstopState
00047 typedef  ::art_msgs::EstopState_<std::allocator<void> > EstopState;
00048 
00049 typedef boost::shared_ptr< ::art_msgs::EstopState> EstopStatePtr;
00050 typedef boost::shared_ptr< ::art_msgs::EstopState const> EstopStateConstPtr;
00051 
00052 
00053 template<typename ContainerAllocator>
00054 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::EstopState_<ContainerAllocator> & v)
00055 {
00056   ros::message_operations::Printer< ::art_msgs::EstopState_<ContainerAllocator> >::stream(s, "", v);
00057   return s;}
00058 
00059 } // namespace art_msgs
00060 
00061 namespace ros
00062 {
00063 namespace message_traits
00064 {
00065 template<class ContainerAllocator> struct IsMessage< ::art_msgs::EstopState_<ContainerAllocator> > : public TrueType {};
00066 template<class ContainerAllocator> struct IsMessage< ::art_msgs::EstopState_<ContainerAllocator>  const> : public TrueType {};
00067 template<class ContainerAllocator>
00068 struct MD5Sum< ::art_msgs::EstopState_<ContainerAllocator> > {
00069   static const char* value() 
00070   {
00071     return "195d9329d308e6ca2b9145be58b92e7e";
00072   }
00073 
00074   static const char* value(const  ::art_msgs::EstopState_<ContainerAllocator> &) { return value(); } 
00075   static const uint64_t static_value1 = 0x195d9329d308e6caULL;
00076   static const uint64_t static_value2 = 0x2b9145be58b92e7eULL;
00077 };
00078 
00079 template<class ContainerAllocator>
00080 struct DataType< ::art_msgs::EstopState_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "art_msgs/EstopState";
00084   }
00085 
00086   static const char* value(const  ::art_msgs::EstopState_<ContainerAllocator> &) { return value(); } 
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct Definition< ::art_msgs::EstopState_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "# Navigator E-stop state values\n\
00094 # $Id: EstopState.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\
00095 \n\
00096 uint16 Pause    = 0                     # E-stop pause (initial state)\n\
00097 uint16 Run      = 1                     # E-stop run enabled\n\
00098 uint16 Done     = 2                     # mission finished (disabled)\n\
00099 uint16 Suspend  = 3                     # suspend autonomous operation\n\
00100 uint16 N_states = 4\n\
00101 \n\
00102 uint16 state\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::art_msgs::EstopState_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::EstopState_<ContainerAllocator> > : public TrueType {};
00111 } // namespace message_traits
00112 } // namespace ros
00113 
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118 
00119 template<class ContainerAllocator> struct Serializer< ::art_msgs::EstopState_<ContainerAllocator> >
00120 {
00121   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122   {
00123     stream.next(m.state);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct EstopState_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::art_msgs::EstopState_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::EstopState_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "state: ";
00142     Printer<uint16_t>::stream(s, indent + "  ", v.state);
00143   }
00144 };
00145 
00146 
00147 } // namespace message_operations
00148 } // namespace ros
00149 
00150 #endif // ART_MSGS_MESSAGE_ESTOPSTATE_H
00151 
 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