LSPBTrajectorySegmentMsg.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/LSPBTrajectorySegmentMsg.msg */
00002 #ifndef SPLINE_SMOOTHER_MESSAGE_LSPBTRAJECTORYSEGMENTMSG_H
00003 #define SPLINE_SMOOTHER_MESSAGE_LSPBTRAJECTORYSEGMENTMSG_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/LSPBSplineCoefficients.h"
00018 
00019 namespace spline_smoother
00020 {
00021 template <class ContainerAllocator>
00022 struct LSPBTrajectorySegmentMsg_ {
00023   typedef LSPBTrajectorySegmentMsg_<ContainerAllocator> Type;
00024 
00025   LSPBTrajectorySegmentMsg_()
00026   : duration()
00027   , joints()
00028   {
00029   }
00030 
00031   LSPBTrajectorySegmentMsg_(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::LSPBSplineCoefficients_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::spline_smoother::LSPBSplineCoefficients_<ContainerAllocator> >::other >  _joints_type;
00041   std::vector< ::spline_smoother::LSPBSplineCoefficients_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::spline_smoother::LSPBSplineCoefficients_<ContainerAllocator> >::other >  joints;
00042 
00043 
00044   typedef boost::shared_ptr< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct LSPBTrajectorySegmentMsg
00048 typedef  ::spline_smoother::LSPBTrajectorySegmentMsg_<std::allocator<void> > LSPBTrajectorySegmentMsg;
00049 
00050 typedef boost::shared_ptr< ::spline_smoother::LSPBTrajectorySegmentMsg> LSPBTrajectorySegmentMsgPtr;
00051 typedef boost::shared_ptr< ::spline_smoother::LSPBTrajectorySegmentMsg const> LSPBTrajectorySegmentMsgConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::spline_smoother::LSPBTrajectorySegmentMsg_<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::LSPBTrajectorySegmentMsg_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "53054857ee1d2a19ca83edc07b14eef2";
00073   }
00074 
00075   static const char* value(const  ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x53054857ee1d2a19ULL;
00077   static const uint64_t static_value2 = 0xca83edc07b14eef2ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "spline_smoother/LSPBTrajectorySegmentMsg";
00085   }
00086 
00087   static const char* value(const  ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "duration duration\n\
00095 LSPBSplineCoefficients[] joints\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: spline_smoother/LSPBSplineCoefficients\n\
00099 float64[] coefficients\n\
00100 float64 linear_segment_duration\n\
00101 float64 quadratic_segment_duration\n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 } // namespace message_traits
00109 } // namespace ros
00110 
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115 
00116 template<class ContainerAllocator> struct Serializer< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> >
00117 {
00118   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119   {
00120     stream.next(m.duration);
00121     stream.next(m.joints);
00122   }
00123 
00124   ROS_DECLARE_ALLINONE_SERIALIZER;
00125 }; // struct LSPBTrajectorySegmentMsg_
00126 } // namespace serialization
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace message_operations
00132 {
00133 
00134 template<class ContainerAllocator>
00135 struct Printer< ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> >
00136 {
00137   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::spline_smoother::LSPBTrajectorySegmentMsg_<ContainerAllocator> & v) 
00138   {
00139     s << indent << "duration: ";
00140     Printer<ros::Duration>::stream(s, indent + "  ", v.duration);
00141     s << indent << "joints[]" << std::endl;
00142     for (size_t i = 0; i < v.joints.size(); ++i)
00143     {
00144       s << indent << "  joints[" << i << "]: ";
00145       s << std::endl;
00146       s << indent;
00147       Printer< ::spline_smoother::LSPBSplineCoefficients_<ContainerAllocator> >::stream(s, indent + "    ", v.joints[i]);
00148     }
00149   }
00150 };
00151 
00152 
00153 } // namespace message_operations
00154 } // namespace ros
00155 
00156 #endif // SPLINE_SMOOTHER_MESSAGE_LSPBTRAJECTORYSEGMENTMSG_H
00157 


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