$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation/doc_stacks/2013-03-01_14-05-03.553953/arm_navigation/arm_navigation_msgs/msg/MultiDOFJointTrajectory.msg */ 00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_H 00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_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 "arm_navigation_msgs/MultiDOFJointTrajectoryPoint.h" 00018 00019 namespace arm_navigation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct MultiDOFJointTrajectory_ { 00023 typedef MultiDOFJointTrajectory_<ContainerAllocator> Type; 00024 00025 MultiDOFJointTrajectory_() 00026 : stamp() 00027 , joint_names() 00028 , frame_ids() 00029 , child_frame_ids() 00030 , points() 00031 { 00032 } 00033 00034 MultiDOFJointTrajectory_(const ContainerAllocator& _alloc) 00035 : stamp() 00036 , joint_names(_alloc) 00037 , frame_ids(_alloc) 00038 , child_frame_ids(_alloc) 00039 , points(_alloc) 00040 { 00041 } 00042 00043 typedef ros::Duration _stamp_type; 00044 ros::Duration stamp; 00045 00046 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _joint_names_type; 00047 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > joint_names; 00048 00049 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _frame_ids_type; 00050 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > frame_ids; 00051 00052 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _child_frame_ids_type; 00053 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > child_frame_ids; 00054 00055 typedef std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > _points_type; 00056 std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > points; 00057 00058 00059 ROS_DEPRECATED uint32_t get_joint_names_size() const { return (uint32_t)joint_names.size(); } 00060 ROS_DEPRECATED void set_joint_names_size(uint32_t size) { joint_names.resize((size_t)size); } 00061 ROS_DEPRECATED void get_joint_names_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->joint_names; } 00062 ROS_DEPRECATED void set_joint_names_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->joint_names = vec; } 00063 ROS_DEPRECATED uint32_t get_frame_ids_size() const { return (uint32_t)frame_ids.size(); } 00064 ROS_DEPRECATED void set_frame_ids_size(uint32_t size) { frame_ids.resize((size_t)size); } 00065 ROS_DEPRECATED void get_frame_ids_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->frame_ids; } 00066 ROS_DEPRECATED void set_frame_ids_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->frame_ids = vec; } 00067 ROS_DEPRECATED uint32_t get_child_frame_ids_size() const { return (uint32_t)child_frame_ids.size(); } 00068 ROS_DEPRECATED void set_child_frame_ids_size(uint32_t size) { child_frame_ids.resize((size_t)size); } 00069 ROS_DEPRECATED void get_child_frame_ids_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->child_frame_ids; } 00070 ROS_DEPRECATED void set_child_frame_ids_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->child_frame_ids = vec; } 00071 ROS_DEPRECATED uint32_t get_points_size() const { return (uint32_t)points.size(); } 00072 ROS_DEPRECATED void set_points_size(uint32_t size) { points.resize((size_t)size); } 00073 ROS_DEPRECATED void get_points_vec(std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > & vec) const { vec = this->points; } 00074 ROS_DEPRECATED void set_points_vec(const std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > & vec) { this->points = vec; } 00075 private: 00076 static const char* __s_getDataType_() { return "arm_navigation_msgs/MultiDOFJointTrajectory"; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00079 00080 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00081 00082 private: 00083 static const char* __s_getMD5Sum_() { return "524f128fb0a65e2838b0e3e3f75207d0"; } 00084 public: 00085 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00086 00087 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00088 00089 private: 00090 static const char* __s_getMessageDefinition_() { return "#A representation of a multi-dof joint trajectory\n\ 00091 duration stamp\n\ 00092 string[] joint_names\n\ 00093 string[] frame_ids\n\ 00094 string[] child_frame_ids\n\ 00095 MultiDOFJointTrajectoryPoint[] points\n\ 00096 \n\ 00097 ================================================================================\n\ 00098 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00099 geometry_msgs/Pose[] poses\n\ 00100 duration time_from_start\n\ 00101 ================================================================================\n\ 00102 MSG: geometry_msgs/Pose\n\ 00103 # A representation of pose in free space, composed of postion and orientation. \n\ 00104 Point position\n\ 00105 Quaternion orientation\n\ 00106 \n\ 00107 ================================================================================\n\ 00108 MSG: geometry_msgs/Point\n\ 00109 # This contains the position of a point in free space\n\ 00110 float64 x\n\ 00111 float64 y\n\ 00112 float64 z\n\ 00113 \n\ 00114 ================================================================================\n\ 00115 MSG: geometry_msgs/Quaternion\n\ 00116 # This represents an orientation in free space in quaternion form.\n\ 00117 \n\ 00118 float64 x\n\ 00119 float64 y\n\ 00120 float64 z\n\ 00121 float64 w\n\ 00122 \n\ 00123 "; } 00124 public: 00125 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00126 00127 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00128 00129 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00130 { 00131 ros::serialization::OStream stream(write_ptr, 1000000000); 00132 ros::serialization::serialize(stream, stamp); 00133 ros::serialization::serialize(stream, joint_names); 00134 ros::serialization::serialize(stream, frame_ids); 00135 ros::serialization::serialize(stream, child_frame_ids); 00136 ros::serialization::serialize(stream, points); 00137 return stream.getData(); 00138 } 00139 00140 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00141 { 00142 ros::serialization::IStream stream(read_ptr, 1000000000); 00143 ros::serialization::deserialize(stream, stamp); 00144 ros::serialization::deserialize(stream, joint_names); 00145 ros::serialization::deserialize(stream, frame_ids); 00146 ros::serialization::deserialize(stream, child_frame_ids); 00147 ros::serialization::deserialize(stream, points); 00148 return stream.getData(); 00149 } 00150 00151 ROS_DEPRECATED virtual uint32_t serializationLength() const 00152 { 00153 uint32_t size = 0; 00154 size += ros::serialization::serializationLength(stamp); 00155 size += ros::serialization::serializationLength(joint_names); 00156 size += ros::serialization::serializationLength(frame_ids); 00157 size += ros::serialization::serializationLength(child_frame_ids); 00158 size += ros::serialization::serializationLength(points); 00159 return size; 00160 } 00161 00162 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > Ptr; 00163 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> const> ConstPtr; 00164 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00165 }; // struct MultiDOFJointTrajectory 00166 typedef ::arm_navigation_msgs::MultiDOFJointTrajectory_<std::allocator<void> > MultiDOFJointTrajectory; 00167 00168 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory> MultiDOFJointTrajectoryPtr; 00169 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory const> MultiDOFJointTrajectoryConstPtr; 00170 00171 00172 template<typename ContainerAllocator> 00173 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> & v) 00174 { 00175 ros::message_operations::Printer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> >::stream(s, "", v); 00176 return s;} 00177 00178 } // namespace arm_navigation_msgs 00179 00180 namespace ros 00181 { 00182 namespace message_traits 00183 { 00184 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > : public TrueType {}; 00185 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> const> : public TrueType {}; 00186 template<class ContainerAllocator> 00187 struct MD5Sum< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > { 00188 static const char* value() 00189 { 00190 return "524f128fb0a65e2838b0e3e3f75207d0"; 00191 } 00192 00193 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); } 00194 static const uint64_t static_value1 = 0x524f128fb0a65e28ULL; 00195 static const uint64_t static_value2 = 0x38b0e3e3f75207d0ULL; 00196 }; 00197 00198 template<class ContainerAllocator> 00199 struct DataType< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > { 00200 static const char* value() 00201 { 00202 return "arm_navigation_msgs/MultiDOFJointTrajectory"; 00203 } 00204 00205 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); } 00206 }; 00207 00208 template<class ContainerAllocator> 00209 struct Definition< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "#A representation of a multi-dof joint trajectory\n\ 00213 duration stamp\n\ 00214 string[] joint_names\n\ 00215 string[] frame_ids\n\ 00216 string[] child_frame_ids\n\ 00217 MultiDOFJointTrajectoryPoint[] points\n\ 00218 \n\ 00219 ================================================================================\n\ 00220 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00221 geometry_msgs/Pose[] poses\n\ 00222 duration time_from_start\n\ 00223 ================================================================================\n\ 00224 MSG: geometry_msgs/Pose\n\ 00225 # A representation of pose in free space, composed of postion and orientation. \n\ 00226 Point position\n\ 00227 Quaternion orientation\n\ 00228 \n\ 00229 ================================================================================\n\ 00230 MSG: geometry_msgs/Point\n\ 00231 # This contains the position of a point in free space\n\ 00232 float64 x\n\ 00233 float64 y\n\ 00234 float64 z\n\ 00235 \n\ 00236 ================================================================================\n\ 00237 MSG: geometry_msgs/Quaternion\n\ 00238 # This represents an orientation in free space in quaternion form.\n\ 00239 \n\ 00240 float64 x\n\ 00241 float64 y\n\ 00242 float64 z\n\ 00243 float64 w\n\ 00244 \n\ 00245 "; 00246 } 00247 00248 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); } 00249 }; 00250 00251 } // namespace message_traits 00252 } // namespace ros 00253 00254 namespace ros 00255 { 00256 namespace serialization 00257 { 00258 00259 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > 00260 { 00261 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00262 { 00263 stream.next(m.stamp); 00264 stream.next(m.joint_names); 00265 stream.next(m.frame_ids); 00266 stream.next(m.child_frame_ids); 00267 stream.next(m.points); 00268 } 00269 00270 ROS_DECLARE_ALLINONE_SERIALIZER; 00271 }; // struct MultiDOFJointTrajectory_ 00272 } // namespace serialization 00273 } // namespace ros 00274 00275 namespace ros 00276 { 00277 namespace message_operations 00278 { 00279 00280 template<class ContainerAllocator> 00281 struct Printer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > 00282 { 00283 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> & v) 00284 { 00285 s << indent << "stamp: "; 00286 Printer<ros::Duration>::stream(s, indent + " ", v.stamp); 00287 s << indent << "joint_names[]" << std::endl; 00288 for (size_t i = 0; i < v.joint_names.size(); ++i) 00289 { 00290 s << indent << " joint_names[" << i << "]: "; 00291 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_names[i]); 00292 } 00293 s << indent << "frame_ids[]" << std::endl; 00294 for (size_t i = 0; i < v.frame_ids.size(); ++i) 00295 { 00296 s << indent << " frame_ids[" << i << "]: "; 00297 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_ids[i]); 00298 } 00299 s << indent << "child_frame_ids[]" << std::endl; 00300 for (size_t i = 0; i < v.child_frame_ids.size(); ++i) 00301 { 00302 s << indent << " child_frame_ids[" << i << "]: "; 00303 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.child_frame_ids[i]); 00304 } 00305 s << indent << "points[]" << std::endl; 00306 for (size_t i = 0; i < v.points.size(); ++i) 00307 { 00308 s << indent << " points[" << i << "]: "; 00309 s << std::endl; 00310 s << indent; 00311 Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.points[i]); 00312 } 00313 } 00314 }; 00315 00316 00317 } // namespace message_operations 00318 } // namespace ros 00319 00320 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_H 00321