$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_self_test/doc_stacks/2013-03-02_13-02-42.165655/pr2_self_test/joint_qualification_controllers/msg/CBPositionData.msg */ 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 private: 00051 static const char* __s_getDataType_() { return "joint_qualification_controllers/CBPositionData"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00054 00055 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00056 00057 private: 00058 static const char* __s_getMD5Sum_() { return "e7b62743b80e10dde08aea881b6ccf7b"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "float32 flex_position\n\ 00066 JointPositionData lift_hold\n\ 00067 JointPositionData flex_hold\n\ 00068 \n\ 00069 ================================================================================\n\ 00070 MSG: joint_qualification_controllers/JointPositionData\n\ 00071 float32[] time\n\ 00072 float32[] position\n\ 00073 float32[] velocity\n\ 00074 float32[] effort\n\ 00075 "; } 00076 public: 00077 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00078 00079 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00080 00081 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00082 { 00083 ros::serialization::OStream stream(write_ptr, 1000000000); 00084 ros::serialization::serialize(stream, flex_position); 00085 ros::serialization::serialize(stream, lift_hold); 00086 ros::serialization::serialize(stream, flex_hold); 00087 return stream.getData(); 00088 } 00089 00090 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00091 { 00092 ros::serialization::IStream stream(read_ptr, 1000000000); 00093 ros::serialization::deserialize(stream, flex_position); 00094 ros::serialization::deserialize(stream, lift_hold); 00095 ros::serialization::deserialize(stream, flex_hold); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint32_t serializationLength() const 00100 { 00101 uint32_t size = 0; 00102 size += ros::serialization::serializationLength(flex_position); 00103 size += ros::serialization::serializationLength(lift_hold); 00104 size += ros::serialization::serializationLength(flex_hold); 00105 return size; 00106 } 00107 00108 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > Ptr; 00109 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> const> ConstPtr; 00110 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00111 }; // struct CBPositionData 00112 typedef ::joint_qualification_controllers::CBPositionData_<std::allocator<void> > CBPositionData; 00113 00114 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData> CBPositionDataPtr; 00115 typedef boost::shared_ptr< ::joint_qualification_controllers::CBPositionData const> CBPositionDataConstPtr; 00116 00117 00118 template<typename ContainerAllocator> 00119 std::ostream& operator<<(std::ostream& s, const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> & v) 00120 { 00121 ros::message_operations::Printer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> >::stream(s, "", v); 00122 return s;} 00123 00124 } // namespace joint_qualification_controllers 00125 00126 namespace ros 00127 { 00128 namespace message_traits 00129 { 00130 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > : public TrueType {}; 00131 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> const> : public TrueType {}; 00132 template<class ContainerAllocator> 00133 struct MD5Sum< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "e7b62743b80e10dde08aea881b6ccf7b"; 00137 } 00138 00139 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); } 00140 static const uint64_t static_value1 = 0xe7b62743b80e10ddULL; 00141 static const uint64_t static_value2 = 0xe08aea881b6ccf7bULL; 00142 }; 00143 00144 template<class ContainerAllocator> 00145 struct DataType< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > { 00146 static const char* value() 00147 { 00148 return "joint_qualification_controllers/CBPositionData"; 00149 } 00150 00151 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); } 00152 }; 00153 00154 template<class ContainerAllocator> 00155 struct Definition< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > { 00156 static const char* value() 00157 { 00158 return "float32 flex_position\n\ 00159 JointPositionData lift_hold\n\ 00160 JointPositionData flex_hold\n\ 00161 \n\ 00162 ================================================================================\n\ 00163 MSG: joint_qualification_controllers/JointPositionData\n\ 00164 float32[] time\n\ 00165 float32[] position\n\ 00166 float32[] velocity\n\ 00167 float32[] effort\n\ 00168 "; 00169 } 00170 00171 static const char* value(const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> &) { return value(); } 00172 }; 00173 00174 } // namespace message_traits 00175 } // namespace ros 00176 00177 namespace ros 00178 { 00179 namespace serialization 00180 { 00181 00182 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > 00183 { 00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00185 { 00186 stream.next(m.flex_position); 00187 stream.next(m.lift_hold); 00188 stream.next(m.flex_hold); 00189 } 00190 00191 ROS_DECLARE_ALLINONE_SERIALIZER; 00192 }; // struct CBPositionData_ 00193 } // namespace serialization 00194 } // namespace ros 00195 00196 namespace ros 00197 { 00198 namespace message_operations 00199 { 00200 00201 template<class ContainerAllocator> 00202 struct Printer< ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> > 00203 { 00204 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::joint_qualification_controllers::CBPositionData_<ContainerAllocator> & v) 00205 { 00206 s << indent << "flex_position: "; 00207 Printer<float>::stream(s, indent + " ", v.flex_position); 00208 s << indent << "lift_hold: "; 00209 s << std::endl; 00210 Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >::stream(s, indent + " ", v.lift_hold); 00211 s << indent << "flex_hold: "; 00212 s << std::endl; 00213 Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >::stream(s, indent + " ", v.flex_hold); 00214 } 00215 }; 00216 00217 00218 } // namespace message_operations 00219 } // namespace ros 00220 00221 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_CBPOSITIONDATA_H 00222