PerceptInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/hector_worldmodel/worldmodel_msgs/msg/PerceptInfo.msg */
00002 #ifndef WORLDMODEL_MSGS_MESSAGE_PERCEPTINFO_H
00003 #define 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 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< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct PerceptInfo
00062 typedef  ::worldmodel_msgs::PerceptInfo_<std::allocator<void> > PerceptInfo;
00063 
00064 typedef boost::shared_ptr< ::worldmodel_msgs::PerceptInfo> PerceptInfoPtr;
00065 typedef boost::shared_ptr< ::worldmodel_msgs::PerceptInfo const> PerceptInfoConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace worldmodel_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "6d276cf0fa6b560cbfd07a3f9eab88b5";
00087   }
00088 
00089   static const char* value(const  ::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< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "worldmodel_msgs/PerceptInfo";
00099   }
00100 
00101   static const char* value(const  ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "# This message contains information about the estimated class and object identity \n\
00109 \n\
00110 # A string identifying the object's class (all objects of a class look the same)\n\
00111 string class_id\n\
00112 \n\
00113 # The class association support of the observation\n\
00114 # 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\
00115 float32 class_support\n\
00116 \n\
00117 # A string identifying a specific object\n\
00118 string object_id\n\
00119 \n\
00120 # The object association support of the observation\n\
00121 # 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\
00122 float32 object_support\n\
00123 \n\
00124 # A string that contains the name or a description of the specific object\n\
00125 string name\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.class_id);
00146     stream.next(m.class_support);
00147     stream.next(m.object_id);
00148     stream.next(m.object_support);
00149     stream.next(m.name);
00150   }
00151 
00152   ROS_DECLARE_ALLINONE_SERIALIZER;
00153 }; // struct PerceptInfo_
00154 } // namespace serialization
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161 
00162 template<class ContainerAllocator>
00163 struct Printer< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> >
00164 {
00165   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> & v) 
00166   {
00167     s << indent << "class_id: ";
00168     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.class_id);
00169     s << indent << "class_support: ";
00170     Printer<float>::stream(s, indent + "  ", v.class_support);
00171     s << indent << "object_id: ";
00172     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.object_id);
00173     s << indent << "object_support: ";
00174     Printer<float>::stream(s, indent + "  ", v.object_support);
00175     s << indent << "name: ";
00176     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00177   }
00178 };
00179 
00180 
00181 } // namespace message_operations
00182 } // namespace ros
00183 
00184 #endif // WORLDMODEL_MSGS_MESSAGE_PERCEPTINFO_H
00185 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:50:40