JointControlClearFaultMode.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/JointControlClearFaultMode.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCLEARFAULTMODE_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCLEARFAULTMODE_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 nasa_r2_common_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct JointControlClearFaultMode_ {
00022   typedef JointControlClearFaultMode_<ContainerAllocator> Type;
00023 
00024   JointControlClearFaultMode_()
00025   : state(0)
00026   {
00027   }
00028 
00029   JointControlClearFaultMode_(const ContainerAllocator& _alloc)
00030   : state(0)
00031   {
00032   }
00033 
00034   typedef uint8_t _state_type;
00035   uint8_t state;
00036 
00037   enum { IGNORE = 0 };
00038   enum { DISABLE = 1 };
00039   enum { ENABLE = 2 };
00040 
00041   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > Ptr;
00042   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator>  const> ConstPtr;
00043   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00044 }; // struct JointControlClearFaultMode
00045 typedef  ::nasa_r2_common_msgs::JointControlClearFaultMode_<std::allocator<void> > JointControlClearFaultMode;
00046 
00047 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlClearFaultMode> JointControlClearFaultModePtr;
00048 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlClearFaultMode const> JointControlClearFaultModeConstPtr;
00049 
00050 
00051 template<typename ContainerAllocator>
00052 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> & v)
00053 {
00054   ros::message_operations::Printer< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> >::stream(s, "", v);
00055   return s;}
00056 
00057 } // namespace nasa_r2_common_msgs
00058 
00059 namespace ros
00060 {
00061 namespace message_traits
00062 {
00063 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > : public TrueType {};
00064 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator>  const> : public TrueType {};
00065 template<class ContainerAllocator>
00066 struct MD5Sum< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > {
00067   static const char* value() 
00068   {
00069     return "fbfa308698e6773f87af15b3be02775b";
00070   }
00071 
00072   static const char* value(const  ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> &) { return value(); } 
00073   static const uint64_t static_value1 = 0xfbfa308698e6773fULL;
00074   static const uint64_t static_value2 = 0x87af15b3be02775bULL;
00075 };
00076 
00077 template<class ContainerAllocator>
00078 struct DataType< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "nasa_r2_common_msgs/JointControlClearFaultMode";
00082   }
00083 
00084   static const char* value(const  ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> &) { return value(); } 
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct Definition< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "uint8 state\n\
00092 uint8 IGNORE  = 0\n\
00093 uint8 DISABLE = 1\n\
00094 uint8 ENABLE  = 2\n\
00095 \n\
00096 ";
00097   }
00098 
00099   static const char* value(const  ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 template<class ContainerAllocator> struct IsFixedSize< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> > : public TrueType {};
00103 } // namespace message_traits
00104 } // namespace ros
00105 
00106 namespace ros
00107 {
00108 namespace serialization
00109 {
00110 
00111 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> >
00112 {
00113   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00114   {
00115     stream.next(m.state);
00116   }
00117 
00118   ROS_DECLARE_ALLINONE_SERIALIZER;
00119 }; // struct JointControlClearFaultMode_
00120 } // namespace serialization
00121 } // namespace ros
00122 
00123 namespace ros
00124 {
00125 namespace message_operations
00126 {
00127 
00128 template<class ContainerAllocator>
00129 struct Printer< ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> >
00130 {
00131   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::JointControlClearFaultMode_<ContainerAllocator> & v) 
00132   {
00133     s << indent << "state: ";
00134     Printer<uint8_t>::stream(s, indent + "  ", v.state);
00135   }
00136 };
00137 
00138 
00139 } // namespace message_operations
00140 } // namespace ros
00141 
00142 #endif // NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCLEARFAULTMODE_H
00143 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34