Go to the documentation of this file.00001
00002 #ifndef IRI_BOW_OBJECT_DETECTOR_MESSAGE_WRINKLEDMAP_H
00003 #define IRI_BOW_OBJECT_DETECTOR_MESSAGE_WRINKLEDMAP_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 iri_bow_object_detector
00019 {
00020 template <class ContainerAllocator>
00021 struct WrinkledMap_ {
00022 typedef WrinkledMap_<ContainerAllocator> Type;
00023
00024 WrinkledMap_()
00025 : h()
00026 , x()
00027 , y()
00028 , z()
00029 {
00030 }
00031
00032 WrinkledMap_(const ContainerAllocator& _alloc)
00033 : h(_alloc)
00034 , x(_alloc)
00035 , y(_alloc)
00036 , z(_alloc)
00037 {
00038 }
00039
00040 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _h_type;
00041 std::vector<float, typename ContainerAllocator::template rebind<float>::other > h;
00042
00043 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _x_type;
00044 std::vector<float, typename ContainerAllocator::template rebind<float>::other > x;
00045
00046 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _y_type;
00047 std::vector<float, typename ContainerAllocator::template rebind<float>::other > y;
00048
00049 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _z_type;
00050 std::vector<float, typename ContainerAllocator::template rebind<float>::other > z;
00051
00052
00053 typedef boost::shared_ptr< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::iri_bow_object_detector::WrinkledMap_<std::allocator<void> > WrinkledMap;
00058
00059 typedef boost::shared_ptr< ::iri_bow_object_detector::WrinkledMap> WrinkledMapPtr;
00060 typedef boost::shared_ptr< ::iri_bow_object_detector::WrinkledMap const> WrinkledMapConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> >::stream(s, "", v);
00067 return s;}
00068
00069 }
00070
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "731afabcd74c0c172f1477d740d8aa06";
00082 }
00083
00084 static const char* value(const ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0x731afabcd74c0c17ULL;
00086 static const uint64_t static_value2 = 0x2f1477d740d8aa06ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "iri_bow_object_detector/WrinkledMap";
00094 }
00095
00096 static const char* value(const ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "float32[] h\n\
00104 float32[] x\n\
00105 float32[] y\n\
00106 float32[] z\n\
00107 ";
00108 }
00109
00110 static const char* value(const ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 }
00114 }
00115
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120
00121 template<class ContainerAllocator> struct Serializer< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> >
00122 {
00123 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124 {
00125 stream.next(m.h);
00126 stream.next(m.x);
00127 stream.next(m.y);
00128 stream.next(m.z);
00129 }
00130
00131 ROS_DECLARE_ALLINONE_SERIALIZER;
00132 };
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140
00141 template<class ContainerAllocator>
00142 struct Printer< ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> >
00143 {
00144 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::iri_bow_object_detector::WrinkledMap_<ContainerAllocator> & v)
00145 {
00146 s << indent << "h[]" << std::endl;
00147 for (size_t i = 0; i < v.h.size(); ++i)
00148 {
00149 s << indent << " h[" << i << "]: ";
00150 Printer<float>::stream(s, indent + " ", v.h[i]);
00151 }
00152 s << indent << "x[]" << std::endl;
00153 for (size_t i = 0; i < v.x.size(); ++i)
00154 {
00155 s << indent << " x[" << i << "]: ";
00156 Printer<float>::stream(s, indent + " ", v.x[i]);
00157 }
00158 s << indent << "y[]" << std::endl;
00159 for (size_t i = 0; i < v.y.size(); ++i)
00160 {
00161 s << indent << " y[" << i << "]: ";
00162 Printer<float>::stream(s, indent + " ", v.y[i]);
00163 }
00164 s << indent << "z[]" << std::endl;
00165 for (size_t i = 0; i < v.z.size(); ++i)
00166 {
00167 s << indent << " z[" << i << "]: ";
00168 Printer<float>::stream(s, indent + " ", v.z[i]);
00169 }
00170 }
00171 };
00172
00173
00174 }
00175 }
00176
00177 #endif // IRI_BOW_OBJECT_DETECTOR_MESSAGE_WRINKLEDMAP_H
00178