RotatedRect.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_perception/msg/RotatedRect.msg */
00002 #ifndef JSK_PERCEPTION_MESSAGE_ROTATEDRECT_H
00003 #define JSK_PERCEPTION_MESSAGE_ROTATEDRECT_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 jsk_perception
00019 {
00020 template <class ContainerAllocator>
00021 struct RotatedRect_ {
00022   typedef RotatedRect_<ContainerAllocator> Type;
00023 
00024   RotatedRect_()
00025   : x(0.0)
00026   , y(0.0)
00027   , width(0.0)
00028   , height(0.0)
00029   , angle(0.0)
00030   {
00031   }
00032 
00033   RotatedRect_(const ContainerAllocator& _alloc)
00034   : x(0.0)
00035   , y(0.0)
00036   , width(0.0)
00037   , height(0.0)
00038   , angle(0.0)
00039   {
00040   }
00041 
00042   typedef double _x_type;
00043   double x;
00044 
00045   typedef double _y_type;
00046   double y;
00047 
00048   typedef double _width_type;
00049   double width;
00050 
00051   typedef double _height_type;
00052   double height;
00053 
00054   typedef double _angle_type;
00055   double angle;
00056 
00057 
00058   typedef boost::shared_ptr< ::jsk_perception::RotatedRect_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::jsk_perception::RotatedRect_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct RotatedRect
00062 typedef  ::jsk_perception::RotatedRect_<std::allocator<void> > RotatedRect;
00063 
00064 typedef boost::shared_ptr< ::jsk_perception::RotatedRect> RotatedRectPtr;
00065 typedef boost::shared_ptr< ::jsk_perception::RotatedRect const> RotatedRectConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::jsk_perception::RotatedRect_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::jsk_perception::RotatedRect_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace jsk_perception
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::RotatedRect_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::RotatedRect_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::jsk_perception::RotatedRect_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "e970c93bbd35a570f7d9acc8228e9280";
00087   }
00088 
00089   static const char* value(const  ::jsk_perception::RotatedRect_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xe970c93bbd35a570ULL;
00091   static const uint64_t static_value2 = 0xf7d9acc8228e9280ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::jsk_perception::RotatedRect_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "jsk_perception/RotatedRect";
00099   }
00100 
00101   static const char* value(const  ::jsk_perception::RotatedRect_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::jsk_perception::RotatedRect_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "float64 x\n\
00109 float64 y\n\
00110 float64 width\n\
00111 float64 height\n\
00112 float64 angle # degree\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::jsk_perception::RotatedRect_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct IsFixedSize< ::jsk_perception::RotatedRect_<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< ::jsk_perception::RotatedRect_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.x);
00134     stream.next(m.y);
00135     stream.next(m.width);
00136     stream.next(m.height);
00137     stream.next(m.angle);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct RotatedRect_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::jsk_perception::RotatedRect_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::jsk_perception::RotatedRect_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "x: ";
00156     Printer<double>::stream(s, indent + "  ", v.x);
00157     s << indent << "y: ";
00158     Printer<double>::stream(s, indent + "  ", v.y);
00159     s << indent << "width: ";
00160     Printer<double>::stream(s, indent + "  ", v.width);
00161     s << indent << "height: ";
00162     Printer<double>::stream(s, indent + "  ", v.height);
00163     s << indent << "angle: ";
00164     Printer<double>::stream(s, indent + "  ", v.angle);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // JSK_PERCEPTION_MESSAGE_ROTATEDRECT_H
00173 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


jsk_perception
Author(s): Manabu Saito
autogenerated on Sat Mar 23 2013 18:21:32