Go to the documentation of this file.00001
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCALIBRATIONMODE_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCALIBRATIONMODE_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 JointControlCalibrationMode_ {
00022 typedef JointControlCalibrationMode_<ContainerAllocator> Type;
00023
00024 JointControlCalibrationMode_()
00025 : state(0)
00026 {
00027 }
00028
00029 JointControlCalibrationMode_(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 enum { UNCALIBRATED = 3 };
00041
00042 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::nasa_r2_common_msgs::JointControlCalibrationMode_<std::allocator<void> > JointControlCalibrationMode;
00047
00048 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlCalibrationMode> JointControlCalibrationModePtr;
00049 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlCalibrationMode const> JointControlCalibrationModeConstPtr;
00050
00051
00052 template<typename ContainerAllocator>
00053 std::ostream& operator<<(std::ostream& s, const ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> & v)
00054 {
00055 ros::message_operations::Printer< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> >::stream(s, "", v);
00056 return s;}
00057
00058 }
00059
00060 namespace ros
00061 {
00062 namespace message_traits
00063 {
00064 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > : public TrueType {};
00065 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> const> : public TrueType {};
00066 template<class ContainerAllocator>
00067 struct MD5Sum< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > {
00068 static const char* value()
00069 {
00070 return "37d6fda8e16d375dbb150fda1a045756";
00071 }
00072
00073 static const char* value(const ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> &) { return value(); }
00074 static const uint64_t static_value1 = 0x37d6fda8e16d375dULL;
00075 static const uint64_t static_value2 = 0xbb150fda1a045756ULL;
00076 };
00077
00078 template<class ContainerAllocator>
00079 struct DataType< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "nasa_r2_common_msgs/JointControlCalibrationMode";
00083 }
00084
00085 static const char* value(const ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> &) { return value(); }
00086 };
00087
00088 template<class ContainerAllocator>
00089 struct Definition< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > {
00090 static const char* value()
00091 {
00092 return "uint8 state\n\
00093 uint8 IGNORE = 0\n\
00094 uint8 DISABLE = 1\n\
00095 uint8 ENABLE = 2\n\
00096 uint8 UNCALIBRATED = 3\n\
00097 \n\
00098 ";
00099 }
00100
00101 static const char* value(const ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator> struct IsFixedSize< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> > : public TrueType {};
00105 }
00106 }
00107
00108 namespace ros
00109 {
00110 namespace serialization
00111 {
00112
00113 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> >
00114 {
00115 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00116 {
00117 stream.next(m.state);
00118 }
00119
00120 ROS_DECLARE_ALLINONE_SERIALIZER;
00121 };
00122 }
00123 }
00124
00125 namespace ros
00126 {
00127 namespace message_operations
00128 {
00129
00130 template<class ContainerAllocator>
00131 struct Printer< ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> >
00132 {
00133 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nasa_r2_common_msgs::JointControlCalibrationMode_<ContainerAllocator> & v)
00134 {
00135 s << indent << "state: ";
00136 Printer<uint8_t>::stream(s, indent + " ", v.state);
00137 }
00138 };
00139
00140
00141 }
00142 }
00143
00144 #endif // NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLCALIBRATIONMODE_H
00145