DetectionArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-cob_perception_common/doc_stacks/2013-03-08_15-00-12.727680/cob_perception_common/cob_object_detection_msgs/msg/DetectionArray.msg */
00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTIONARRAY_H
00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTIONARRAY_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 "cob_object_detection_msgs/Detection.h"
00019 
00020 namespace cob_object_detection_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct DetectionArray_ {
00024   typedef DetectionArray_<ContainerAllocator> Type;
00025 
00026   DetectionArray_()
00027   : header()
00028   , detections()
00029   {
00030   }
00031 
00032   DetectionArray_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , detections(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::cob_object_detection_msgs::Detection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_object_detection_msgs::Detection_<ContainerAllocator> >::other >  _detections_type;
00042   std::vector< ::cob_object_detection_msgs::Detection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_object_detection_msgs::Detection_<ContainerAllocator> >::other >  detections;
00043 
00044 
00045   typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct DetectionArray
00049 typedef  ::cob_object_detection_msgs::DetectionArray_<std::allocator<void> > DetectionArray;
00050 
00051 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectionArray> DetectionArrayPtr;
00052 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectionArray const> DetectionArrayConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace cob_object_detection_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "8b22bfbdd23654f0350f86baa47c12f9";
00074   }
00075 
00076   static const char* value(const  ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x8b22bfbdd23654f0ULL;
00078   static const uint64_t static_value2 = 0x350f86baa47c12f9ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "cob_object_detection_msgs/DetectionArray";
00086   }
00087 
00088   static const char* value(const  ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 Detection[] detections\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: cob_object_detection_msgs/Detection\n\
00118 Header header\n\
00119 string label\n\
00120 string detector\n\
00121 float32 score\n\
00122 Mask mask\n\
00123 geometry_msgs/PoseStamped pose\n\
00124 geometry_msgs/Point bounding_box_lwh\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: cob_object_detection_msgs/Mask\n\
00128 # this message is used to mark where an object is present in an image\n\
00129 # this can be done either by a roi region on the image (less precise) or a mask (more precise)\n\
00130 \n\
00131 Rect roi\n\
00132 \n\
00133 # in the case when mask is used, 'roi' specifies the image region and 'mask'\n\
00134 # (which should be of the same size) a binary mask in that region\n\
00135 sensor_msgs/Image mask\n\
00136 \n\
00137 # in the case there is 3D data available, 'indices' are used to index the \n\
00138 # part of the point cloud representing the object\n\
00139 #pcl/PointIndices indices\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: cob_object_detection_msgs/Rect\n\
00143 int32 x\n\
00144 int32 y\n\
00145 int32 width\n\
00146 int32 height\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: sensor_msgs/Image\n\
00150 # This message contains an uncompressed image\n\
00151 # (0, 0) is at top-left corner of image\n\
00152 #\n\
00153 \n\
00154 Header header        # Header timestamp should be acquisition time of image\n\
00155                      # Header frame_id should be optical frame of camera\n\
00156                      # origin of frame should be optical center of cameara\n\
00157                      # +x should point to the right in the image\n\
00158                      # +y should point down in the image\n\
00159                      # +z should point into to plane of the image\n\
00160                      # If the frame_id here and the frame_id of the CameraInfo\n\
00161                      # message associated with the image conflict\n\
00162                      # the behavior is undefined\n\
00163 \n\
00164 uint32 height         # image height, that is, number of rows\n\
00165 uint32 width          # image width, that is, number of columns\n\
00166 \n\
00167 # The legal values for encoding are in file src/image_encodings.cpp\n\
00168 # If you want to standardize a new string format, join\n\
00169 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00170 \n\
00171 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00172                       # taken from the list of strings in include/sensor_msgs/image_encodings.h\n\
00173 \n\
00174 uint8 is_bigendian    # is this data bigendian?\n\
00175 uint32 step           # Full row length in bytes\n\
00176 uint8[] data          # actual matrix data, size is (step * rows)\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/PoseStamped\n\
00180 # A Pose with reference coordinate frame and timestamp\n\
00181 Header header\n\
00182 Pose pose\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: geometry_msgs/Pose\n\
00186 # A representation of pose in free space, composed of postion and orientation. \n\
00187 Point position\n\
00188 Quaternion orientation\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geometry_msgs/Point\n\
00192 # This contains the position of a point in free space\n\
00193 float64 x\n\
00194 float64 y\n\
00195 float64 z\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: geometry_msgs/Quaternion\n\
00199 # This represents an orientation in free space in quaternion form.\n\
00200 \n\
00201 float64 x\n\
00202 float64 y\n\
00203 float64 z\n\
00204 float64 w\n\
00205 \n\
00206 ";
00207   }
00208 
00209   static const char* value(const  ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> &) { return value(); } 
00210 };
00211 
00212 template<class ContainerAllocator> struct HasHeader< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > : public TrueType {};
00213 template<class ContainerAllocator> struct HasHeader< const ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> > : public TrueType {};
00214 } // namespace message_traits
00215 } // namespace ros
00216 
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221 
00222 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> >
00223 {
00224   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225   {
00226     stream.next(m.header);
00227     stream.next(m.detections);
00228   }
00229 
00230   ROS_DECLARE_ALLINONE_SERIALIZER;
00231 }; // struct DetectionArray_
00232 } // namespace serialization
00233 } // namespace ros
00234 
00235 namespace ros
00236 {
00237 namespace message_operations
00238 {
00239 
00240 template<class ContainerAllocator>
00241 struct Printer< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> >
00242 {
00243   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> & v) 
00244   {
00245     s << indent << "header: ";
00246 s << std::endl;
00247     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00248     s << indent << "detections[]" << std::endl;
00249     for (size_t i = 0; i < v.detections.size(); ++i)
00250     {
00251       s << indent << "  detections[" << i << "]: ";
00252       s << std::endl;
00253       s << indent;
00254       Printer< ::cob_object_detection_msgs::Detection_<ContainerAllocator> >::stream(s, indent + "    ", v.detections[i]);
00255     }
00256   }
00257 };
00258 
00259 
00260 } // namespace message_operations
00261 } // namespace ros
00262 
00263 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTIONARRAY_H
00264 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


cob_object_detection_msgs
Author(s): Florian Weisshardt
autogenerated on Fri Mar 8 2013 15:04:09