Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<std::allocator<void> > MultiDOFJointTrajectoryPoint;
00049
00050 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint> MultiDOFJointTrajectoryPointPtr;
00051 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint const> MultiDOFJointTrajectoryPointConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<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< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "9be3ee3b5fa289b5394ab4ca9e54fa4e";
00073 }
00074
00075 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x9be3ee3b5fa289b5ULL;
00077 static const uint64_t static_value2 = 0x394ab4ca9e54fa4eULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "arm_navigation_msgs/MultiDOFJointTrajectoryPoint";
00085 }
00086
00087 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "geometry_msgs/Pose[] poses\n\
00095 duration time_from_start\n\
00096 ================================================================================\n\
00097 MSG: geometry_msgs/Pose\n\
00098 # A representation of pose in free space, composed of postion and orientation. \n\
00099 Point position\n\
00100 Quaternion orientation\n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: geometry_msgs/Point\n\
00104 # This contains the position of a point in free space\n\
00105 float64 x\n\
00106 float64 y\n\
00107 float64 z\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geometry_msgs/Quaternion\n\
00111 # This represents an orientation in free space in quaternion form.\n\
00112 \n\
00113 float64 x\n\
00114 float64 y\n\
00115 float64 z\n\
00116 float64 w\n\
00117 \n\
00118 ";
00119 }
00120
00121 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 }
00125 }
00126
00127 namespace ros
00128 {
00129 namespace serialization
00130 {
00131
00132 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >
00133 {
00134 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00135 {
00136 stream.next(m.poses);
00137 stream.next(m.time_from_start);
00138 }
00139
00140 ROS_DECLARE_ALLINONE_SERIALIZER;
00141 };
00142 }
00143 }
00144
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149
00150 template<class ContainerAllocator>
00151 struct Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >
00152 {
00153 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> & v)
00154 {
00155 s << indent << "poses[]" << std::endl;
00156 for (size_t i = 0; i < v.poses.size(); ++i)
00157 {
00158 s << indent << " poses[" << i << "]: ";
00159 s << std::endl;
00160 s << indent;
00161 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]);
00162 }
00163 s << indent << "time_from_start: ";
00164 Printer<ros::Duration>::stream(s, indent + " ", v.time_from_start);
00165 }
00166 };
00167
00168
00169 }
00170 }
00171
00172 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORYPOINT_H
00173