$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/MultiDOFJointTrajectoryPoint.msg */ 00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORYPOINT_H 00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORYPOINT_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 "geometry_msgs/Pose.h" 00018 00019 namespace arm_navigation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct MultiDOFJointTrajectoryPoint_ { 00023 typedef MultiDOFJointTrajectoryPoint_<ContainerAllocator> Type; 00024 00025 MultiDOFJointTrajectoryPoint_() 00026 : poses() 00027 , time_from_start() 00028 { 00029 } 00030 00031 MultiDOFJointTrajectoryPoint_(const ContainerAllocator& _alloc) 00032 : poses(_alloc) 00033 , time_from_start() 00034 { 00035 } 00036 00037 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _poses_type; 00038 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > poses; 00039 00040 typedef ros::Duration _time_from_start_type; 00041 ros::Duration time_from_start; 00042 00043 00044 ROS_DEPRECATED uint32_t get_poses_size() const { return (uint32_t)poses.size(); } 00045 ROS_DEPRECATED void set_poses_size(uint32_t size) { poses.resize((size_t)size); } 00046 ROS_DEPRECATED void get_poses_vec(std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > & vec) const { vec = this->poses; } 00047 ROS_DEPRECATED void set_poses_vec(const std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > & vec) { this->poses = vec; } 00048 private: 00049 static const char* __s_getDataType_() { return "arm_navigation_msgs/MultiDOFJointTrajectoryPoint"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "9be3ee3b5fa289b5394ab4ca9e54fa4e"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Pose[] poses\n\ 00064 duration time_from_start\n\ 00065 ================================================================================\n\ 00066 MSG: geometry_msgs/Pose\n\ 00067 # A representation of pose in free space, composed of postion and orientation. \n\ 00068 Point position\n\ 00069 Quaternion orientation\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: geometry_msgs/Point\n\ 00073 # This contains the position of a point in free space\n\ 00074 float64 x\n\ 00075 float64 y\n\ 00076 float64 z\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: geometry_msgs/Quaternion\n\ 00080 # This represents an orientation in free space in quaternion form.\n\ 00081 \n\ 00082 float64 x\n\ 00083 float64 y\n\ 00084 float64 z\n\ 00085 float64 w\n\ 00086 \n\ 00087 "; } 00088 public: 00089 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00092 00093 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00094 { 00095 ros::serialization::OStream stream(write_ptr, 1000000000); 00096 ros::serialization::serialize(stream, poses); 00097 ros::serialization::serialize(stream, time_from_start); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00102 { 00103 ros::serialization::IStream stream(read_ptr, 1000000000); 00104 ros::serialization::deserialize(stream, poses); 00105 ros::serialization::deserialize(stream, time_from_start); 00106 return stream.getData(); 00107 } 00108 00109 ROS_DEPRECATED virtual uint32_t serializationLength() const 00110 { 00111 uint32_t size = 0; 00112 size += ros::serialization::serializationLength(poses); 00113 size += ros::serialization::serializationLength(time_from_start); 00114 return size; 00115 } 00116 00117 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > Ptr; 00118 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> const> ConstPtr; 00119 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00120 }; // struct MultiDOFJointTrajectoryPoint 00121 typedef ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<std::allocator<void> > MultiDOFJointTrajectoryPoint; 00122 00123 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint> MultiDOFJointTrajectoryPointPtr; 00124 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint const> MultiDOFJointTrajectoryPointConstPtr; 00125 00126 00127 template<typename ContainerAllocator> 00128 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> & v) 00129 { 00130 ros::message_operations::Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::stream(s, "", v); 00131 return s;} 00132 00133 } // namespace arm_navigation_msgs 00134 00135 namespace ros 00136 { 00137 namespace message_traits 00138 { 00139 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > : public TrueType {}; 00140 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> const> : public TrueType {}; 00141 template<class ContainerAllocator> 00142 struct MD5Sum< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > { 00143 static const char* value() 00144 { 00145 return "9be3ee3b5fa289b5394ab4ca9e54fa4e"; 00146 } 00147 00148 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); } 00149 static const uint64_t static_value1 = 0x9be3ee3b5fa289b5ULL; 00150 static const uint64_t static_value2 = 0x394ab4ca9e54fa4eULL; 00151 }; 00152 00153 template<class ContainerAllocator> 00154 struct DataType< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "arm_navigation_msgs/MultiDOFJointTrajectoryPoint"; 00158 } 00159 00160 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); } 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct Definition< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "geometry_msgs/Pose[] poses\n\ 00168 duration time_from_start\n\ 00169 ================================================================================\n\ 00170 MSG: geometry_msgs/Pose\n\ 00171 # A representation of pose in free space, composed of postion and orientation. \n\ 00172 Point position\n\ 00173 Quaternion orientation\n\ 00174 \n\ 00175 ================================================================================\n\ 00176 MSG: geometry_msgs/Point\n\ 00177 # This contains the position of a point in free space\n\ 00178 float64 x\n\ 00179 float64 y\n\ 00180 float64 z\n\ 00181 \n\ 00182 ================================================================================\n\ 00183 MSG: geometry_msgs/Quaternion\n\ 00184 # This represents an orientation in free space in quaternion form.\n\ 00185 \n\ 00186 float64 x\n\ 00187 float64 y\n\ 00188 float64 z\n\ 00189 float64 w\n\ 00190 \n\ 00191 "; 00192 } 00193 00194 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); } 00195 }; 00196 00197 } // namespace message_traits 00198 } // namespace ros 00199 00200 namespace ros 00201 { 00202 namespace serialization 00203 { 00204 00205 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > 00206 { 00207 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00208 { 00209 stream.next(m.poses); 00210 stream.next(m.time_from_start); 00211 } 00212 00213 ROS_DECLARE_ALLINONE_SERIALIZER; 00214 }; // struct MultiDOFJointTrajectoryPoint_ 00215 } // namespace serialization 00216 } // namespace ros 00217 00218 namespace ros 00219 { 00220 namespace message_operations 00221 { 00222 00223 template<class ContainerAllocator> 00224 struct Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > 00225 { 00226 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> & v) 00227 { 00228 s << indent << "poses[]" << std::endl; 00229 for (size_t i = 0; i < v.poses.size(); ++i) 00230 { 00231 s << indent << " poses[" << i << "]: "; 00232 s << std::endl; 00233 s << indent; 00234 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]); 00235 } 00236 s << indent << "time_from_start: "; 00237 Printer<ros::Duration>::stream(s, indent + " ", v.time_from_start); 00238 } 00239 }; 00240 00241 00242 } // namespace message_operations 00243 } // namespace ros 00244 00245 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORYPOINT_H 00246