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