HeadMonitorStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation_experimental/doc_stacks/2013-12-12_11-03-06.264841/arm_navigation_experimental/head_monitor_msgs/msg/HeadMonitorStatus.msg */
00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORSTATUS_H
00003 #define HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORSTATUS_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 head_monitor_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct HeadMonitorStatus_ {
00022   typedef HeadMonitorStatus_<ContainerAllocator> Type;
00023 
00024   HeadMonitorStatus_()
00025   : status(0)
00026   {
00027   }
00028 
00029   HeadMonitorStatus_(const ContainerAllocator& _alloc)
00030   : status(0)
00031   {
00032   }
00033 
00034   typedef int32_t _status_type;
00035   int32_t status;
00036 
00037   enum { IDLE = 1 };
00038   enum { PREPLAN_SCAN = 2 };
00039   enum { PAUSED = 3 };
00040   enum { MONITOR_BEFORE_EXECUTION = 4 };
00041   enum { EXECUTING = 5 };
00042   enum { PAUSE_TIMEOUT = 6 };
00043   enum { COMPLETED = 7 };
00044   enum { PREEMPTED = 8 };
00045 
00046   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > Ptr;
00047   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator>  const> ConstPtr;
00048   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 }; // struct HeadMonitorStatus
00050 typedef  ::head_monitor_msgs::HeadMonitorStatus_<std::allocator<void> > HeadMonitorStatus;
00051 
00052 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorStatus> HeadMonitorStatusPtr;
00053 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorStatus const> HeadMonitorStatusConstPtr;
00054 
00055 
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const  ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> & v)
00058 {
00059   ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> >::stream(s, "", v);
00060   return s;}
00061 
00062 } // namespace head_monitor_msgs
00063 
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator>  const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > {
00072   static const char* value() 
00073   {
00074     return "54a93e9786200851b9612cbfdcbbf36b";
00075   }
00076 
00077   static const char* value(const  ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> &) { return value(); } 
00078   static const uint64_t static_value1 = 0x54a93e9786200851ULL;
00079   static const uint64_t static_value2 = 0xb9612cbfdcbbf36bULL;
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct DataType< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "head_monitor_msgs/HeadMonitorStatus";
00087   }
00088 
00089   static const char* value(const  ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> &) { return value(); } 
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct Definition< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "int32 status\n\
00097 \n\
00098 int32 IDLE = 1 \n\
00099 int32 PREPLAN_SCAN = 2\n\
00100 int32 PAUSED = 3\n\
00101 int32 MONITOR_BEFORE_EXECUTION = 4\n\
00102 int32 EXECUTING = 5\n\
00103 int32 PAUSE_TIMEOUT = 6\n\
00104 int32 COMPLETED = 7\n\
00105 int32 PREEMPTED = 8\n\
00106 \n\
00107 ";
00108   }
00109 
00110   static const char* value(const  ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 template<class ContainerAllocator> struct IsFixedSize< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> > : public TrueType {};
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.status);
00127   }
00128 
00129   ROS_DECLARE_ALLINONE_SERIALIZER;
00130 }; // struct HeadMonitorStatus_
00131 } // namespace serialization
00132 } // namespace ros
00133 
00134 namespace ros
00135 {
00136 namespace message_operations
00137 {
00138 
00139 template<class ContainerAllocator>
00140 struct Printer< ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> >
00141 {
00142   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::head_monitor_msgs::HeadMonitorStatus_<ContainerAllocator> & v) 
00143   {
00144     s << indent << "status: ";
00145     Printer<int32_t>::stream(s, indent + "  ", v.status);
00146   }
00147 };
00148 
00149 
00150 } // namespace message_operations
00151 } // namespace ros
00152 
00153 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORSTATUS_H
00154 


head_monitor_msgs
Author(s): Gil Jones
autogenerated on Thu Dec 12 2013 11:07:24