DescriptorSet.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/DescriptorSet.msg */
00002 #ifndef IRI_PERCEPTION_MSGS_MESSAGE_DESCRIPTORSET_H
00003 #define IRI_PERCEPTION_MSGS_MESSAGE_DESCRIPTORSET_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/Descriptor.h"
00019 
00020 namespace iri_perception_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct DescriptorSet_ {
00024   typedef DescriptorSet_<ContainerAllocator> Type;
00025 
00026   DescriptorSet_()
00027   : header()
00028   , num_orient_bins(0)
00029   , num_spa_bins(0)
00030   , num(0)
00031   , len(0)
00032   , width(0)
00033   , height(0)
00034   , descriptors()
00035   {
00036   }
00037 
00038   DescriptorSet_(const ContainerAllocator& _alloc)
00039   : header(_alloc)
00040   , num_orient_bins(0)
00041   , num_spa_bins(0)
00042   , num(0)
00043   , len(0)
00044   , width(0)
00045   , height(0)
00046   , descriptors(_alloc)
00047   {
00048   }
00049 
00050   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00051    ::std_msgs::Header_<ContainerAllocator>  header;
00052 
00053   typedef int32_t _num_orient_bins_type;
00054   int32_t num_orient_bins;
00055 
00056   typedef int32_t _num_spa_bins_type;
00057   int32_t num_spa_bins;
00058 
00059   typedef int32_t _num_type;
00060   int32_t num;
00061 
00062   typedef int32_t _len_type;
00063   int32_t len;
00064 
00065   typedef int32_t _width_type;
00066   int32_t width;
00067 
00068   typedef int32_t _height_type;
00069   int32_t height;
00070 
00071   typedef std::vector< ::iri_perception_msgs::Descriptor_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_perception_msgs::Descriptor_<ContainerAllocator> >::other >  _descriptors_type;
00072   std::vector< ::iri_perception_msgs::Descriptor_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_perception_msgs::Descriptor_<ContainerAllocator> >::other >  descriptors;
00073 
00074 
00075   typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > Ptr;
00076   typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator>  const> ConstPtr;
00077   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 }; // struct DescriptorSet
00079 typedef  ::iri_perception_msgs::DescriptorSet_<std::allocator<void> > DescriptorSet;
00080 
00081 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorSet> DescriptorSetPtr;
00082 typedef boost::shared_ptr< ::iri_perception_msgs::DescriptorSet const> DescriptorSetConstPtr;
00083 
00084 
00085 template<typename ContainerAllocator>
00086 std::ostream& operator<<(std::ostream& s, const  ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> & v)
00087 {
00088   ros::message_operations::Printer< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> >::stream(s, "", v);
00089   return s;}
00090 
00091 } // namespace iri_perception_msgs
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "3f594e954dd6a77d9bb6c9198cfee269";
00104   }
00105 
00106   static const char* value(const  ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0x3f594e954dd6a77dULL;
00108   static const uint64_t static_value2 = 0x9bb6c9198cfee269ULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "iri_perception_msgs/DescriptorSet";
00116   }
00117 
00118   static const char* value(const  ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "Header header\n\
00126 int32 num_orient_bins\n\
00127 int32 num_spa_bins\n\
00128 int32 num\n\
00129 int32 len\n\
00130 int32 width\n\
00131 int32 height\n\
00132 iri_perception_msgs/Descriptor[] descriptors\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: std_msgs/Header\n\
00136 # Standard metadata for higher-level stamped data types.\n\
00137 # This is generally used to communicate timestamped data \n\
00138 # in a particular coordinate frame.\n\
00139 # \n\
00140 # sequence ID: consecutively increasing ID \n\
00141 uint32 seq\n\
00142 #Two-integer timestamp that is expressed as:\n\
00143 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00144 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00145 # time-handling sugar is provided by the client library\n\
00146 time stamp\n\
00147 #Frame this data is associated with\n\
00148 # 0: no frame\n\
00149 # 1: global frame\n\
00150 string frame_id\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: iri_perception_msgs/Descriptor\n\
00154 float32[] descriptor\n\
00155 geometry_msgs/Vector3 point3d\n\
00156 int32 u\n\
00157 int32 v\n\
00158 float32 orientation\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Vector3\n\
00162 # This represents a vector in free space. \n\
00163 \n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 ";
00168   }
00169 
00170   static const char* value(const  ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> &) { return value(); } 
00171 };
00172 
00173 template<class ContainerAllocator> struct HasHeader< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > : public TrueType {};
00174 template<class ContainerAllocator> struct HasHeader< const ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> > : public TrueType {};
00175 } // namespace message_traits
00176 } // namespace ros
00177 
00178 namespace ros
00179 {
00180 namespace serialization
00181 {
00182 
00183 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> >
00184 {
00185   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00186   {
00187     stream.next(m.header);
00188     stream.next(m.num_orient_bins);
00189     stream.next(m.num_spa_bins);
00190     stream.next(m.num);
00191     stream.next(m.len);
00192     stream.next(m.width);
00193     stream.next(m.height);
00194     stream.next(m.descriptors);
00195   }
00196 
00197   ROS_DECLARE_ALLINONE_SERIALIZER;
00198 }; // struct DescriptorSet_
00199 } // namespace serialization
00200 } // namespace ros
00201 
00202 namespace ros
00203 {
00204 namespace message_operations
00205 {
00206 
00207 template<class ContainerAllocator>
00208 struct Printer< ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> >
00209 {
00210   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_perception_msgs::DescriptorSet_<ContainerAllocator> & v) 
00211   {
00212     s << indent << "header: ";
00213 s << std::endl;
00214     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00215     s << indent << "num_orient_bins: ";
00216     Printer<int32_t>::stream(s, indent + "  ", v.num_orient_bins);
00217     s << indent << "num_spa_bins: ";
00218     Printer<int32_t>::stream(s, indent + "  ", v.num_spa_bins);
00219     s << indent << "num: ";
00220     Printer<int32_t>::stream(s, indent + "  ", v.num);
00221     s << indent << "len: ";
00222     Printer<int32_t>::stream(s, indent + "  ", v.len);
00223     s << indent << "width: ";
00224     Printer<int32_t>::stream(s, indent + "  ", v.width);
00225     s << indent << "height: ";
00226     Printer<int32_t>::stream(s, indent + "  ", v.height);
00227     s << indent << "descriptors[]" << std::endl;
00228     for (size_t i = 0; i < v.descriptors.size(); ++i)
00229     {
00230       s << indent << "  descriptors[" << i << "]: ";
00231       s << std::endl;
00232       s << indent;
00233       Printer< ::iri_perception_msgs::Descriptor_<ContainerAllocator> >::stream(s, indent + "    ", v.descriptors[i]);
00234     }
00235   }
00236 };
00237 
00238 
00239 } // namespace message_operations
00240 } // namespace ros
00241 
00242 #endif // IRI_PERCEPTION_MSGS_MESSAGE_DESCRIPTORSET_H
00243 


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