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


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:16