Go to the documentation of this file.00001
00002 #ifndef BLORT_ROS_MESSAGE_TRACKERCONFIDENCES_H
00003 #define BLORT_ROS_MESSAGE_TRACKERCONFIDENCES_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 blort_ros
00019 {
00020 template <class ContainerAllocator>
00021 struct TrackerConfidences_ {
00022 typedef TrackerConfidences_<ContainerAllocator> Type;
00023
00024 TrackerConfidences_()
00025 : edgeConf(0.0)
00026 , confThreshold(0.0)
00027 , lostConf(0.0)
00028 , distance(0.0)
00029 {
00030 }
00031
00032 TrackerConfidences_(const ContainerAllocator& _alloc)
00033 : edgeConf(0.0)
00034 , confThreshold(0.0)
00035 , lostConf(0.0)
00036 , distance(0.0)
00037 {
00038 }
00039
00040 typedef float _edgeConf_type;
00041 float edgeConf;
00042
00043 typedef float _confThreshold_type;
00044 float confThreshold;
00045
00046 typedef float _lostConf_type;
00047 float lostConf;
00048
00049 typedef float _distance_type;
00050 float distance;
00051
00052
00053 typedef boost::shared_ptr< ::blort_ros::TrackerConfidences_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::blort_ros::TrackerConfidences_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::blort_ros::TrackerConfidences_<std::allocator<void> > TrackerConfidences;
00058
00059 typedef boost::shared_ptr< ::blort_ros::TrackerConfidences> TrackerConfidencesPtr;
00060 typedef boost::shared_ptr< ::blort_ros::TrackerConfidences const> TrackerConfidencesConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::blort_ros::TrackerConfidences_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::blort_ros::TrackerConfidences_<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< ::blort_ros::TrackerConfidences_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::blort_ros::TrackerConfidences_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::blort_ros::TrackerConfidences_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "1efbea2b74f43081141e5d758958c1c5";
00082 }
00083
00084 static const char* value(const ::blort_ros::TrackerConfidences_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0x1efbea2b74f43081ULL;
00086 static const uint64_t static_value2 = 0x141e5d758958c1c5ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::blort_ros::TrackerConfidences_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "blort_ros/TrackerConfidences";
00094 }
00095
00096 static const char* value(const ::blort_ros::TrackerConfidences_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::blort_ros::TrackerConfidences_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "float32 edgeConf\n\
00104 float32 confThreshold\n\
00105 float32 lostConf\n\
00106 float32 distance\n\
00107 \n\
00108 ";
00109 }
00110
00111 static const char* value(const ::blort_ros::TrackerConfidences_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::TrackerConfidences_<ContainerAllocator> > : public TrueType {};
00115 }
00116 }
00117
00118 namespace ros
00119 {
00120 namespace serialization
00121 {
00122
00123 template<class ContainerAllocator> struct Serializer< ::blort_ros::TrackerConfidences_<ContainerAllocator> >
00124 {
00125 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00126 {
00127 stream.next(m.edgeConf);
00128 stream.next(m.confThreshold);
00129 stream.next(m.lostConf);
00130 stream.next(m.distance);
00131 }
00132
00133 ROS_DECLARE_ALLINONE_SERIALIZER;
00134 };
00135 }
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142
00143 template<class ContainerAllocator>
00144 struct Printer< ::blort_ros::TrackerConfidences_<ContainerAllocator> >
00145 {
00146 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::blort_ros::TrackerConfidences_<ContainerAllocator> & v)
00147 {
00148 s << indent << "edgeConf: ";
00149 Printer<float>::stream(s, indent + " ", v.edgeConf);
00150 s << indent << "confThreshold: ";
00151 Printer<float>::stream(s, indent + " ", v.confThreshold);
00152 s << indent << "lostConf: ";
00153 Printer<float>::stream(s, indent + " ", v.lostConf);
00154 s << indent << "distance: ";
00155 Printer<float>::stream(s, indent + " ", v.distance);
00156 }
00157 };
00158
00159
00160 }
00161 }
00162
00163 #endif // BLORT_ROS_MESSAGE_TRACKERCONFIDENCES_H
00164