Footprint2d.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-humanoid_walk/doc_stacks/2013-12-28_17-04-02.394386/humanoid_walk/walk_msgs/msg/Footprint2d.msg */
00002 #ifndef WALK_MSGS_MESSAGE_FOOTPRINT2D_H
00003 #define WALK_MSGS_MESSAGE_FOOTPRINT2D_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 
00018 namespace walk_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Footprint2d_ {
00022   typedef Footprint2d_<ContainerAllocator> Type;
00023 
00024   Footprint2d_()
00025   : beginTime()
00026   , duration()
00027   , x(0.0)
00028   , y(0.0)
00029   , theta(0.0)
00030   {
00031   }
00032 
00033   Footprint2d_(const ContainerAllocator& _alloc)
00034   : beginTime()
00035   , duration()
00036   , x(0.0)
00037   , y(0.0)
00038   , theta(0.0)
00039   {
00040   }
00041 
00042   typedef ros::Time _beginTime_type;
00043   ros::Time beginTime;
00044 
00045   typedef ros::Duration _duration_type;
00046   ros::Duration duration;
00047 
00048   typedef double _x_type;
00049   double x;
00050 
00051   typedef double _y_type;
00052   double y;
00053 
00054   typedef double _theta_type;
00055   double theta;
00056 
00057 
00058   typedef boost::shared_ptr< ::walk_msgs::Footprint2d_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::walk_msgs::Footprint2d_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct Footprint2d
00062 typedef  ::walk_msgs::Footprint2d_<std::allocator<void> > Footprint2d;
00063 
00064 typedef boost::shared_ptr< ::walk_msgs::Footprint2d> Footprint2dPtr;
00065 typedef boost::shared_ptr< ::walk_msgs::Footprint2d const> Footprint2dConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::walk_msgs::Footprint2d_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::walk_msgs::Footprint2d_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace walk_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::Footprint2d_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::Footprint2d_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::walk_msgs::Footprint2d_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "eec7ee92e130c0823cfdeee9490b0167";
00087   }
00088 
00089   static const char* value(const  ::walk_msgs::Footprint2d_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xeec7ee92e130c082ULL;
00091   static const uint64_t static_value2 = 0x3cfdeee9490b0167ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::walk_msgs::Footprint2d_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "walk_msgs/Footprint2d";
00099   }
00100 
00101   static const char* value(const  ::walk_msgs::Footprint2d_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::walk_msgs::Footprint2d_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "time beginTime\n\
00109 duration duration\n\
00110 float64 x\n\
00111 float64 y\n\
00112 float64 theta\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::walk_msgs::Footprint2d_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct IsFixedSize< ::walk_msgs::Footprint2d_<ContainerAllocator> > : public TrueType {};
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::walk_msgs::Footprint2d_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.beginTime);
00134     stream.next(m.duration);
00135     stream.next(m.x);
00136     stream.next(m.y);
00137     stream.next(m.theta);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct Footprint2d_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::walk_msgs::Footprint2d_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::walk_msgs::Footprint2d_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "beginTime: ";
00156     Printer<ros::Time>::stream(s, indent + "  ", v.beginTime);
00157     s << indent << "duration: ";
00158     Printer<ros::Duration>::stream(s, indent + "  ", v.duration);
00159     s << indent << "x: ";
00160     Printer<double>::stream(s, indent + "  ", v.x);
00161     s << indent << "y: ";
00162     Printer<double>::stream(s, indent + "  ", v.y);
00163     s << indent << "theta: ";
00164     Printer<double>::stream(s, indent + "  ", v.theta);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // WALK_MSGS_MESSAGE_FOOTPRINT2D_H
00173 


walk_msgs
Author(s): Thomas Moulard
autogenerated on Sat Dec 28 2013 17:05:25