Go to the documentation of this file.00001
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_CBPOSITIONDATA_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_CBPOSITIONDATA_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 #include "joint_qualification_controllers/JointPositionData.h"
00018 #include "joint_qualification_controllers/JointPositionData.h"
00019
00020 namespace joint_qualification_controllers
00021 {
00022 template <class ContainerAllocator>
00023 struct CBPositionData_ {
00024 typedef CBPositionData_<ContainerAllocator> Type;
00025
00026 CBPositionData_()
00027 : flex_position(0.0)
00028 , lift_hold()
00029 , flex_hold()
00030 {
00031 }
00032
00033 CBPositionData_(const ContainerAllocator& _alloc)
00034 : flex_position(0.0)
00035 , lift_hold(_alloc)
00036 , flex_hold(_alloc)
00037 {
00038 }
00039
00040 typedef float _flex_position_type;
00041 float flex_position;
00042
00043 typedef ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> _lift_hold_type;
00044 ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> lift_hold;
00045
00046 typedef ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> _flex_hold_type;
00047 ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> flex_hold;
00048
00049
00050 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::joint_qualification_controllers::CBPositionData_<std::allocator<void> > CBPositionData;
00055
00056 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData> CBPositionDataPtr;
00057 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData const> CBPositionDataConstPtr;
00058
00059
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> & v)
00062 {
00063 ros::message_operations::Printer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> >::stream(s, "", v);
00064 return s;}
00065
00066 }
00067
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > {
00076 static const char* value()
00077 {
00078 return "e7b62743b80e10dde08aea881b6ccf7b";
00079 }
00080
00081 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); }
00082 static const uint64_t static_value1 = 0xe7b62743b80e10ddULL;
00083 static const uint64_t static_value2 = 0xe08aea881b6ccf7bULL;
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct DataType< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "joint_qualification_controllers/CBPositionData";
00091 }
00092
00093 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct Definition< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "float32 flex_position\n\
00101 JointPositionData lift_hold\n\
00102 JointPositionData flex_hold\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: joint_qualification_controllers/JointPositionData\n\
00106 float32[] time\n\
00107 float32[] position\n\
00108 float32[] velocity\n\
00109 float32[] effort\n\
00110 ";
00111 }
00112
00113 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123
00124 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> >
00125 {
00126 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127 {
00128 stream.next(m.flex_position);
00129 stream.next(m.lift_hold);
00130 stream.next(m.flex_hold);
00131 }
00132
00133 ROS_DECLARE_ALLINONE_SERIALIZER;
00134 };
00135 }
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142
00143 template<class ContainerAllocator>
00144 struct Printer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> >
00145 {
00146 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> & v)
00147 {
00148 s << indent << "flex_position: ";
00149 Printer<float>::stream(s, indent + " ", v.flex_position);
00150 s << indent << "lift_hold: ";
00151 s << std::endl;
00152 Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >::stream(s, indent + " ", v.lift_hold);
00153 s << indent << "flex_hold: ";
00154 s << std::endl;
00155 Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >::stream(s, indent + " ", v.flex_hold);
00156 }
00157 };
00158
00159
00160 }
00161 }
00162
00163 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_CBPOSITIONDATA_H
00164