LabeledJointTrajectory.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/LabeledJointTrajectory.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTTRAJECTORY_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTTRAJECTORY_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 "std_msgs/Header.h"
00018 #include "trajectory_msgs/JointTrajectoryPoint.h"
00019 
00020 namespace nasa_r2_common_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct LabeledJointTrajectory_ {
00024   typedef LabeledJointTrajectory_<ContainerAllocator> Type;
00025 
00026   LabeledJointTrajectory_()
00027   : header()
00028   , originator()
00029   , joint_names()
00030   , points()
00031   {
00032   }
00033 
00034   LabeledJointTrajectory_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , originator(_alloc)
00037   , joint_names(_alloc)
00038   , points(_alloc)
00039   {
00040   }
00041 
00042   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00043    ::std_msgs::Header_<ContainerAllocator>  header;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _originator_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  originator;
00047 
00048   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;
00049   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;
00050 
00051   typedef std::vector< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::other >  _points_type;
00052   std::vector< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::other >  points;
00053 
00054 
00055   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > Ptr;
00056   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator>  const> ConstPtr;
00057   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 }; // struct LabeledJointTrajectory
00059 typedef  ::nasa_r2_common_msgs::LabeledJointTrajectory_<std::allocator<void> > LabeledJointTrajectory;
00060 
00061 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointTrajectory> LabeledJointTrajectoryPtr;
00062 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointTrajectory const> LabeledJointTrajectoryConstPtr;
00063 
00064 
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> & v)
00067 {
00068   ros::message_operations::Printer< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> >::stream(s, "", v);
00069   return s;}
00070 
00071 } // namespace nasa_r2_common_msgs
00072 
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator>  const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "6e1c8250671b584be393800f7e8f62b4";
00084   }
00085 
00086   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> &) { return value(); } 
00087   static const uint64_t static_value1 = 0x6e1c8250671b584bULL;
00088   static const uint64_t static_value2 = 0xe393800f7e8f62b4ULL;
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct DataType< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "nasa_r2_common_msgs/LabeledJointTrajectory";
00096   }
00097 
00098   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> &) { return value(); } 
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct Definition< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "Header header\n\
00106 string originator\n\
00107 string[] joint_names\n\
00108 trajectory_msgs/JointTrajectoryPoint[] points\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/Header\n\
00112 # Standard metadata for higher-level stamped data types.\n\
00113 # This is generally used to communicate timestamped data \n\
00114 # in a particular coordinate frame.\n\
00115 # \n\
00116 # sequence ID: consecutively increasing ID \n\
00117 uint32 seq\n\
00118 #Two-integer timestamp that is expressed as:\n\
00119 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00120 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00121 # time-handling sugar is provided by the client library\n\
00122 time stamp\n\
00123 #Frame this data is associated with\n\
00124 # 0: no frame\n\
00125 # 1: global frame\n\
00126 string frame_id\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00130 float64[] positions\n\
00131 float64[] velocities\n\
00132 float64[] accelerations\n\
00133 duration time_from_start\n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> > : public TrueType {};
00142 } // namespace message_traits
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149 
00150 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> >
00151 {
00152   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153   {
00154     stream.next(m.header);
00155     stream.next(m.originator);
00156     stream.next(m.joint_names);
00157     stream.next(m.points);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct LabeledJointTrajectory_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::LabeledJointTrajectory_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "header: ";
00176 s << std::endl;
00177     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00178     s << indent << "originator: ";
00179     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.originator);
00180     s << indent << "joint_names[]" << std::endl;
00181     for (size_t i = 0; i < v.joint_names.size(); ++i)
00182     {
00183       s << indent << "  joint_names[" << i << "]: ";
00184       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00185     }
00186     s << indent << "points[]" << std::endl;
00187     for (size_t i = 0; i < v.points.size(); ++i)
00188     {
00189       s << indent << "  points[" << i << "]: ";
00190       s << std::endl;
00191       s << indent;
00192       Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + "    ", v.points[i]);
00193     }
00194   }
00195 };
00196 
00197 
00198 } // namespace message_operations
00199 } // namespace ros
00200 
00201 #endif // NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTTRAJECTORY_H
00202 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34