Poses2D.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-rtm-ros-robotics__agentsystem_ros_tutorials/doc_stacks/2014-10-06_12-05-41.225981/rtm-ros-robotics/agentsystem_ros_tutorials/opencv_fitting/msg/Poses2D.msg */
00002 #ifndef OPENCV_FITTING_MESSAGE_POSES2D_H
00003 #define OPENCV_FITTING_MESSAGE_POSES2D_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 "geometry_msgs/Pose2D.h"
00018 
00019 namespace opencv_fitting
00020 {
00021 template <class ContainerAllocator>
00022 struct Poses2D_ {
00023   typedef Poses2D_<ContainerAllocator> Type;
00024 
00025   Poses2D_()
00026   : poses()
00027   {
00028   }
00029 
00030   Poses2D_(const ContainerAllocator& _alloc)
00031   : poses(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other >  _poses_type;
00036   std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other >  poses;
00037 
00038 
00039   typedef boost::shared_ptr< ::opencv_fitting::Poses2D_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::opencv_fitting::Poses2D_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct Poses2D
00043 typedef  ::opencv_fitting::Poses2D_<std::allocator<void> > Poses2D;
00044 
00045 typedef boost::shared_ptr< ::opencv_fitting::Poses2D> Poses2DPtr;
00046 typedef boost::shared_ptr< ::opencv_fitting::Poses2D const> Poses2DConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::opencv_fitting::Poses2D_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::opencv_fitting::Poses2D_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace opencv_fitting
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::opencv_fitting::Poses2D_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::opencv_fitting::Poses2D_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::opencv_fitting::Poses2D_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "31a710d661541413a823a4591402c488";
00068   }
00069 
00070   static const char* value(const  ::opencv_fitting::Poses2D_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x31a710d661541413ULL;
00072   static const uint64_t static_value2 = 0xa823a4591402c488ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::opencv_fitting::Poses2D_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "opencv_fitting/Poses2D";
00080   }
00081 
00082   static const char* value(const  ::opencv_fitting::Poses2D_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::opencv_fitting::Poses2D_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "geometry_msgs/Pose2D[] poses\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: geometry_msgs/Pose2D\n\
00093 # This expresses a position and orientation on a 2D manifold.\n\
00094 \n\
00095 float64 x\n\
00096 float64 y\n\
00097 float64 theta\n\
00098 ";
00099   }
00100 
00101   static const char* value(const  ::opencv_fitting::Poses2D_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 } // namespace message_traits
00105 } // namespace ros
00106 
00107 namespace ros
00108 {
00109 namespace serialization
00110 {
00111 
00112 template<class ContainerAllocator> struct Serializer< ::opencv_fitting::Poses2D_<ContainerAllocator> >
00113 {
00114   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00115   {
00116     stream.next(m.poses);
00117   }
00118 
00119   ROS_DECLARE_ALLINONE_SERIALIZER;
00120 }; // struct Poses2D_
00121 } // namespace serialization
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace message_operations
00127 {
00128 
00129 template<class ContainerAllocator>
00130 struct Printer< ::opencv_fitting::Poses2D_<ContainerAllocator> >
00131 {
00132   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::opencv_fitting::Poses2D_<ContainerAllocator> & v) 
00133   {
00134     s << indent << "poses[]" << std::endl;
00135     for (size_t i = 0; i < v.poses.size(); ++i)
00136     {
00137       s << indent << "  poses[" << i << "]: ";
00138       s << std::endl;
00139       s << indent;
00140       Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent + "    ", v.poses[i]);
00141     }
00142   }
00143 };
00144 
00145 
00146 } // namespace message_operations
00147 } // namespace ros
00148 
00149 #endif // OPENCV_FITTING_MESSAGE_POSES2D_H
00150 


opencv_fitting
Author(s): rtm-ros-robotics
autogenerated on Mon Oct 6 2014 12:08:28