Go to the documentation of this file.00001
00002 #ifndef MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIES_H
00003 #define MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIES_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 "manipulation_transforms/EffectorTrajectoriesPoint.h"
00018
00019 namespace manipulation_transforms
00020 {
00021 template <class ContainerAllocator>
00022 struct EffectorTrajectories_ {
00023 typedef EffectorTrajectories_<ContainerAllocator> Type;
00024
00025 EffectorTrajectories_()
00026 : pt()
00027 , names()
00028 {
00029 }
00030
00031 EffectorTrajectories_(const ContainerAllocator& _alloc)
00032 : pt(_alloc)
00033 , names(_alloc)
00034 {
00035 }
00036
00037 typedef std::vector< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >::other > _pt_type;
00038 std::vector< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >::other > pt;
00039
00040 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 > _names_type;
00041 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 > names;
00042
00043
00044 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::manipulation_transforms::EffectorTrajectories_<std::allocator<void> > EffectorTrajectories;
00049
00050 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectories> EffectorTrajectoriesPtr;
00051 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectories const> EffectorTrajectoriesConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::manipulation_transforms::EffectorTrajectories_<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< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "bf27638dd852ff57ecedb67398cbfd2c";
00073 }
00074
00075 static const char* value(const ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0xbf27638dd852ff57ULL;
00077 static const uint64_t static_value2 = 0xecedb67398cbfd2cULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "manipulation_transforms/EffectorTrajectories";
00085 }
00086
00087 static const char* value(const ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "# Array of EffectorTrajectoriesPoints of arbitrary length\n\
00095 EffectorTrajectoriesPoint[] pt\n\
00096 \n\
00097 # Optional effector names\n\
00098 string[] names\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: manipulation_transforms/EffectorTrajectoriesPoint\n\
00102 # Array of poses, one for each effector\n\
00103 geometry_msgs/PoseStamped[] poses\n\
00104 \n\
00105 # Array of twists, one for each effector\n\
00106 geometry_msgs/TwistStamped[] twists\n\
00107 \n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geometry_msgs/PoseStamped\n\
00111 # A Pose with reference coordinate frame and timestamp\n\
00112 Header header\n\
00113 Pose pose\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Pose\n\
00135 # A representation of pose in free space, composed of postion and orientation. \n\
00136 Point position\n\
00137 Quaternion orientation\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Point\n\
00141 # This contains the position of a point in free space\n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Quaternion\n\
00148 # This represents an orientation in free space in quaternion form.\n\
00149 \n\
00150 float64 x\n\
00151 float64 y\n\
00152 float64 z\n\
00153 float64 w\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: geometry_msgs/TwistStamped\n\
00157 # A twist with reference coordinate frame and timestamp\n\
00158 Header header\n\
00159 Twist twist\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Twist\n\
00163 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00164 Vector3 linear\n\
00165 Vector3 angular\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Vector3\n\
00169 # This represents a vector in free space. \n\
00170 \n\
00171 float64 x\n\
00172 float64 y\n\
00173 float64 z\n\
00174 ";
00175 }
00176
00177 static const char* value(const ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 }
00181 }
00182
00183 namespace ros
00184 {
00185 namespace serialization
00186 {
00187
00188 template<class ContainerAllocator> struct Serializer< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> >
00189 {
00190 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00191 {
00192 stream.next(m.pt);
00193 stream.next(m.names);
00194 }
00195
00196 ROS_DECLARE_ALLINONE_SERIALIZER;
00197 };
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace message_operations
00204 {
00205
00206 template<class ContainerAllocator>
00207 struct Printer< ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> >
00208 {
00209 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::manipulation_transforms::EffectorTrajectories_<ContainerAllocator> & v)
00210 {
00211 s << indent << "pt[]" << std::endl;
00212 for (size_t i = 0; i < v.pt.size(); ++i)
00213 {
00214 s << indent << " pt[" << i << "]: ";
00215 s << std::endl;
00216 s << indent;
00217 Printer< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >::stream(s, indent + " ", v.pt[i]);
00218 }
00219 s << indent << "names[]" << std::endl;
00220 for (size_t i = 0; i < v.names.size(); ++i)
00221 {
00222 s << indent << " names[" << i << "]: ";
00223 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.names[i]);
00224 }
00225 }
00226 };
00227
00228
00229 }
00230 }
00231
00232 #endif // MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIES_H
00233