PerceptInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-hector_worldmodel/doc_stacks/2014-10-06_00-33-41.120387/hector_worldmodel/hector_worldmodel_msgs/msg/PerceptInfo.msg */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_MESSAGE_PERCEPTINFO_H
00003 #define HECTOR_WORLDMODEL_MSGS_MESSAGE_PERCEPTINFO_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 hector_worldmodel_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PerceptInfo_ {
00022   typedef PerceptInfo_<ContainerAllocator> Type;
00023 
00024   PerceptInfo_()
00025   : class_id()
00026   , class_support(0.0)
00027   , object_id()
00028   , object_support(0.0)
00029   , name()
00030   {
00031   }
00032 
00033   PerceptInfo_(const ContainerAllocator& _alloc)
00034   : class_id(_alloc)
00035   , class_support(0.0)
00036   , object_id(_alloc)
00037   , object_support(0.0)
00038   , name(_alloc)
00039   {
00040   }
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _class_id_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  class_id;
00044 
00045   typedef float _class_support_type;
00046   float class_support;
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _object_id_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  object_id;
00050 
00051   typedef float _object_support_type;
00052   float object_support;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00056 
00057 
00058   typedef boost::shared_ptr< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct PerceptInfo
00062 typedef  ::hector_worldmodel_msgs::PerceptInfo_<std::allocator<void> > PerceptInfo;
00063 
00064 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PerceptInfo> PerceptInfoPtr;
00065 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PerceptInfo const> PerceptInfoConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace hector_worldmodel_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "6d276cf0fa6b560cbfd07a3f9eab88b5";
00087   }
00088 
00089   static const char* value(const  ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x6d276cf0fa6b560cULL;
00091   static const uint64_t static_value2 = 0xbfd07a3f9eab88b5ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "hector_worldmodel_msgs/PerceptInfo";
00099   }
00100 
00101   static const char* value(const  ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "# hector_worldmodel_msgs/PerceptInfo\n\
00109 # This message contains information about the estimated class and object identity \n\
00110 \n\
00111 # A string identifying the object's class (all objects of a class look the same)\n\
00112 string class_id\n\
00113 \n\
00114 # The class association support of the observation\n\
00115 # The support is the log odd likelihood ratio given by log(p(y/observation y belongs to object of class class_id) / p(y/observation y is a false positive))\n\
00116 float32 class_support\n\
00117 \n\
00118 # A string identifying a specific object\n\
00119 string object_id\n\
00120 \n\
00121 # The object association support of the observation\n\
00122 # The support is the log odd likelihood ratio given by log(p(observation belongs to object object_id) / p(observation is false positive or belongs to another object))\n\
00123 float32 object_support\n\
00124 \n\
00125 # A string that contains the name or a description of the specific object\n\
00126 string name\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141 
00142 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> >
00143 {
00144   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00145   {
00146     stream.next(m.class_id);
00147     stream.next(m.class_support);
00148     stream.next(m.object_id);
00149     stream.next(m.object_support);
00150     stream.next(m.name);
00151   }
00152 
00153   ROS_DECLARE_ALLINONE_SERIALIZER;
00154 }; // struct PerceptInfo_
00155 } // namespace serialization
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162 
00163 template<class ContainerAllocator>
00164 struct Printer< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> >
00165 {
00166   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> & v) 
00167   {
00168     s << indent << "class_id: ";
00169     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.class_id);
00170     s << indent << "class_support: ";
00171     Printer<float>::stream(s, indent + "  ", v.class_support);
00172     s << indent << "object_id: ";
00173     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.object_id);
00174     s << indent << "object_support: ";
00175     Printer<float>::stream(s, indent + "  ", v.object_support);
00176     s << indent << "name: ";
00177     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00178   }
00179 };
00180 
00181 
00182 } // namespace message_operations
00183 } // namespace ros
00184 
00185 #endif // HECTOR_WORLDMODEL_MSGS_MESSAGE_PERCEPTINFO_H
00186 


hector_worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:27