SplineTrajectorySegment.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation/doc_stacks/2013-12-12_11-02-12.519893/arm_navigation/spline_smoother/msg/SplineTrajectorySegment.msg */
00002 #ifndef SPLINE_SMOOTHER_MESSAGE_SPLINETRAJECTORYSEGMENT_H
00003 #define SPLINE_SMOOTHER_MESSAGE_SPLINETRAJECTORYSEGMENT_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 "spline_smoother/SplineCoefficients.h"
00018 
00019 namespace spline_smoother
00020 {
00021 template <class ContainerAllocator>
00022 struct SplineTrajectorySegment_ {
00023   typedef SplineTrajectorySegment_<ContainerAllocator> Type;
00024 
00025   SplineTrajectorySegment_()
00026   : duration()
00027   , joints()
00028   {
00029   }
00030 
00031   SplineTrajectorySegment_(const ContainerAllocator& _alloc)
00032   : duration()
00033   , joints(_alloc)
00034   {
00035   }
00036 
00037   typedef ros::Duration _duration_type;
00038   ros::Duration duration;
00039 
00040   typedef std::vector< ::spline_smoother::SplineCoefficients_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::spline_smoother::SplineCoefficients_<ContainerAllocator> >::other >  _joints_type;
00041   std::vector< ::spline_smoother::SplineCoefficients_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::spline_smoother::SplineCoefficients_<ContainerAllocator> >::other >  joints;
00042 
00043 
00044   typedef boost::shared_ptr< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct SplineTrajectorySegment
00048 typedef  ::spline_smoother::SplineTrajectorySegment_<std::allocator<void> > SplineTrajectorySegment;
00049 
00050 typedef boost::shared_ptr< ::spline_smoother::SplineTrajectorySegment> SplineTrajectorySegmentPtr;
00051 typedef boost::shared_ptr< ::spline_smoother::SplineTrajectorySegment const> SplineTrajectorySegmentConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace spline_smoother
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "1c95257e91547459aede67dd02a209d6";
00073   }
00074 
00075   static const char* value(const  ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x1c95257e91547459ULL;
00077   static const uint64_t static_value2 = 0xaede67dd02a209d6ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "spline_smoother/SplineTrajectorySegment";
00085   }
00086 
00087   static const char* value(const  ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "duration duration\n\
00095 SplineCoefficients[] joints\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: spline_smoother/SplineCoefficients\n\
00099 float64[] coefficients\n\
00100 \n\
00101 ";
00102   }
00103 
00104   static const char* value(const  ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 } // namespace message_traits
00108 } // namespace ros
00109 
00110 namespace ros
00111 {
00112 namespace serialization
00113 {
00114 
00115 template<class ContainerAllocator> struct Serializer< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> >
00116 {
00117   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00118   {
00119     stream.next(m.duration);
00120     stream.next(m.joints);
00121   }
00122 
00123   ROS_DECLARE_ALLINONE_SERIALIZER;
00124 }; // struct SplineTrajectorySegment_
00125 } // namespace serialization
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace message_operations
00131 {
00132 
00133 template<class ContainerAllocator>
00134 struct Printer< ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> >
00135 {
00136   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::spline_smoother::SplineTrajectorySegment_<ContainerAllocator> & v) 
00137   {
00138     s << indent << "duration: ";
00139     Printer<ros::Duration>::stream(s, indent + "  ", v.duration);
00140     s << indent << "joints[]" << std::endl;
00141     for (size_t i = 0; i < v.joints.size(); ++i)
00142     {
00143       s << indent << "  joints[" << i << "]: ";
00144       s << std::endl;
00145       s << indent;
00146       Printer< ::spline_smoother::SplineCoefficients_<ContainerAllocator> >::stream(s, indent + "    ", v.joints[i]);
00147     }
00148   }
00149 };
00150 
00151 
00152 } // namespace message_operations
00153 } // namespace ros
00154 
00155 #endif // SPLINE_SMOOTHER_MESSAGE_SPLINETRAJECTORYSEGMENT_H
00156 


spline_smoother
Author(s): Mrinal Kalakrishnan / mail@mrinal.net
autogenerated on Thu Dec 12 2013 11:09:50