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