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


spline_smoother
Author(s): Mrinal Kalakrishnan / mail@mrinal.net
autogenerated on Mon Dec 2 2013 12:35:44