Go to the documentation of this file.00001
00002 #ifndef IRI_BOW_OBJECT_DETECTOR_MESSAGE_OBJECTBOX_H
00003 #define IRI_BOW_OBJECT_DETECTOR_MESSAGE_OBJECTBOX_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 "iri_perception_msgs/ImagePoint.h"
00018 #include "iri_perception_msgs/ImagePoint.h"
00019
00020 namespace iri_bow_object_detector
00021 {
00022 template <class ContainerAllocator>
00023 struct ObjectBox_ {
00024 typedef ObjectBox_<ContainerAllocator> Type;
00025
00026 ObjectBox_()
00027 : point1()
00028 , point2()
00029 , value(0.0)
00030 {
00031 }
00032
00033 ObjectBox_(const ContainerAllocator& _alloc)
00034 : point1(_alloc)
00035 , point2(_alloc)
00036 , value(0.0)
00037 {
00038 }
00039
00040 typedef ::iri_perception_msgs::ImagePoint_<ContainerAllocator> _point1_type;
00041 ::iri_perception_msgs::ImagePoint_<ContainerAllocator> point1;
00042
00043 typedef ::iri_perception_msgs::ImagePoint_<ContainerAllocator> _point2_type;
00044 ::iri_perception_msgs::ImagePoint_<ContainerAllocator> point2;
00045
00046 typedef float _value_type;
00047 float value;
00048
00049
00050 typedef boost::shared_ptr< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::iri_bow_object_detector::ObjectBox_<std::allocator<void> > ObjectBox;
00055
00056 typedef boost::shared_ptr< ::iri_bow_object_detector::ObjectBox> ObjectBoxPtr;
00057 typedef boost::shared_ptr< ::iri_bow_object_detector::ObjectBox const> ObjectBoxConstPtr;
00058
00059
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> & v)
00062 {
00063 ros::message_operations::Printer< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> >::stream(s, "", v);
00064 return s;}
00065
00066 }
00067
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > {
00076 static const char* value()
00077 {
00078 return "3b124018a1260659fa76923e9a54718c";
00079 }
00080
00081 static const char* value(const ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> &) { return value(); }
00082 static const uint64_t static_value1 = 0x3b124018a1260659ULL;
00083 static const uint64_t static_value2 = 0xfa76923e9a54718cULL;
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct DataType< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "iri_bow_object_detector/ObjectBox";
00091 }
00092
00093 static const char* value(const ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct Definition< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "iri_perception_msgs/ImagePoint point1\n\
00101 iri_perception_msgs/ImagePoint point2\n\
00102 float32 value\n\
00103 ================================================================================\n\
00104 MSG: iri_perception_msgs/ImagePoint\n\
00105 uint32 x\n\
00106 uint32 y\n\
00107 ";
00108 }
00109
00110 static const char* value(const ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator> struct IsFixedSize< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> > : public TrueType {};
00114 }
00115 }
00116
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121
00122 template<class ContainerAllocator> struct Serializer< ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> >
00123 {
00124 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125 {
00126 stream.next(m.point1);
00127 stream.next(m.point2);
00128 stream.next(m.value);
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::ObjectBox_<ContainerAllocator> >
00143 {
00144 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::iri_bow_object_detector::ObjectBox_<ContainerAllocator> & v)
00145 {
00146 s << indent << "point1: ";
00147 s << std::endl;
00148 Printer< ::iri_perception_msgs::ImagePoint_<ContainerAllocator> >::stream(s, indent + " ", v.point1);
00149 s << indent << "point2: ";
00150 s << std::endl;
00151 Printer< ::iri_perception_msgs::ImagePoint_<ContainerAllocator> >::stream(s, indent + " ", v.point2);
00152 s << indent << "value: ";
00153 Printer<float>::stream(s, indent + " ", v.value);
00154 }
00155 };
00156
00157
00158 }
00159 }
00160
00161 #endif // IRI_BOW_OBJECT_DETECTOR_MESSAGE_OBJECTBOX_H
00162