ObjectInImage.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-calibration/doc_stacks/2013-08-15_10-13-13.499663/calibration/image_cb_detector/msg/ObjectInImage.msg */
00002 #ifndef IMAGE_CB_DETECTOR_MESSAGE_OBJECTINIMAGE_H
00003 #define IMAGE_CB_DETECTOR_MESSAGE_OBJECTINIMAGE_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Point.h"
00019 #include "image_cb_detector/ImagePoint.h"
00020 
00021 namespace image_cb_detector
00022 {
00023 template <class ContainerAllocator>
00024 struct ObjectInImage_ {
00025   typedef ObjectInImage_<ContainerAllocator> Type;
00026 
00027   ObjectInImage_()
00028   : header()
00029   , model_points()
00030   , image_points()
00031   {
00032   }
00033 
00034   ObjectInImage_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , model_points(_alloc)
00037   , image_points(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _model_points_type;
00045   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  model_points;
00046 
00047   typedef std::vector< ::image_cb_detector::ImagePoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::image_cb_detector::ImagePoint_<ContainerAllocator> >::other >  _image_points_type;
00048   std::vector< ::image_cb_detector::ImagePoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::image_cb_detector::ImagePoint_<ContainerAllocator> >::other >  image_points;
00049 
00050 
00051   typedef boost::shared_ptr< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::image_cb_detector::ObjectInImage_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ObjectInImage
00055 typedef  ::image_cb_detector::ObjectInImage_<std::allocator<void> > ObjectInImage;
00056 
00057 typedef boost::shared_ptr< ::image_cb_detector::ObjectInImage> ObjectInImagePtr;
00058 typedef boost::shared_ptr< ::image_cb_detector::ObjectInImage const> ObjectInImageConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::image_cb_detector::ObjectInImage_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::image_cb_detector::ObjectInImage_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace image_cb_detector
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ObjectInImage_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "0996b0d8499882526b533fe6e96aa418";
00080   }
00081 
00082   static const char* value(const  ::image_cb_detector::ObjectInImage_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x0996b0d849988252ULL;
00084   static const uint64_t static_value2 = 0x6b533fe6e96aa418ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "image_cb_detector/ObjectInImage";
00092   }
00093 
00094   static const char* value(const  ::image_cb_detector::ObjectInImage_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Header header\n\
00102 geometry_msgs/Point[] model_points\n\
00103 image_cb_detector/ImagePoint[] image_points\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Point\n\
00125 # This contains the position of a point in free space\n\
00126 float64 x\n\
00127 float64 y\n\
00128 float64 z\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: image_cb_detector/ImagePoint\n\
00132 float32 x\n\
00133 float32 y\n\
00134 \n\
00135 ";
00136   }
00137 
00138   static const char* value(const  ::image_cb_detector::ObjectInImage_<ContainerAllocator> &) { return value(); } 
00139 };
00140 
00141 template<class ContainerAllocator> struct HasHeader< ::image_cb_detector::ObjectInImage_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct HasHeader< const ::image_cb_detector::ObjectInImage_<ContainerAllocator> > : public TrueType {};
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace serialization
00149 {
00150 
00151 template<class ContainerAllocator> struct Serializer< ::image_cb_detector::ObjectInImage_<ContainerAllocator> >
00152 {
00153   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00154   {
00155     stream.next(m.header);
00156     stream.next(m.model_points);
00157     stream.next(m.image_points);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct ObjectInImage_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::image_cb_detector::ObjectInImage_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::image_cb_detector::ObjectInImage_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "header: ";
00176 s << std::endl;
00177     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00178     s << indent << "model_points[]" << std::endl;
00179     for (size_t i = 0; i < v.model_points.size(); ++i)
00180     {
00181       s << indent << "  model_points[" << i << "]: ";
00182       s << std::endl;
00183       s << indent;
00184       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.model_points[i]);
00185     }
00186     s << indent << "image_points[]" << std::endl;
00187     for (size_t i = 0; i < v.image_points.size(); ++i)
00188     {
00189       s << indent << "  image_points[" << i << "]: ";
00190       s << std::endl;
00191       s << indent;
00192       Printer< ::image_cb_detector::ImagePoint_<ContainerAllocator> >::stream(s, indent + "    ", v.image_points[i]);
00193     }
00194   }
00195 };
00196 
00197 
00198 } // namespace message_operations
00199 } // namespace ros
00200 
00201 #endif // IMAGE_CB_DETECTOR_MESSAGE_OBJECTINIMAGE_H
00202 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


image_cb_detector
Author(s): Vijay Pradeep and Eitan Marder-Eppstein
autogenerated on Thu Aug 15 2013 10:15:24