ObjectEvidence.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tue/doc_stacks/2014-01-07_11-38-14.555624/wire/wire_msgs/msg/ObjectEvidence.msg */
00002 #ifndef WIRE_MSGS_MESSAGE_OBJECTEVIDENCE_H
00003 #define WIRE_MSGS_MESSAGE_OBJECTEVIDENCE_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 "wire_msgs/Property.h"
00018 
00019 namespace wire_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ObjectEvidence_ {
00023   typedef ObjectEvidence_<ContainerAllocator> Type;
00024 
00025   ObjectEvidence_()
00026   : certainty(0.0)
00027   , negative(false)
00028   , properties()
00029   {
00030   }
00031 
00032   ObjectEvidence_(const ContainerAllocator& _alloc)
00033   : certainty(0.0)
00034   , negative(false)
00035   , properties(_alloc)
00036   {
00037   }
00038 
00039   typedef double _certainty_type;
00040   double certainty;
00041 
00042   typedef uint8_t _negative_type;
00043   uint8_t negative;
00044 
00045   typedef std::vector< ::wire_msgs::Property_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::Property_<ContainerAllocator> >::other >  _properties_type;
00046   std::vector< ::wire_msgs::Property_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::Property_<ContainerAllocator> >::other >  properties;
00047 
00048 
00049   typedef boost::shared_ptr< ::wire_msgs::ObjectEvidence_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::wire_msgs::ObjectEvidence_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct ObjectEvidence
00053 typedef  ::wire_msgs::ObjectEvidence_<std::allocator<void> > ObjectEvidence;
00054 
00055 typedef boost::shared_ptr< ::wire_msgs::ObjectEvidence> ObjectEvidencePtr;
00056 typedef boost::shared_ptr< ::wire_msgs::ObjectEvidence const> ObjectEvidenceConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::wire_msgs::ObjectEvidence_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace wire_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::ObjectEvidence_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::ObjectEvidence_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::wire_msgs::ObjectEvidence_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "77e95746f47f2a6173d16614abb68048";
00078   }
00079 
00080   static const char* value(const  ::wire_msgs::ObjectEvidence_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x77e95746f47f2a61ULL;
00082   static const uint64_t static_value2 = 0x73d16614abb68048ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::wire_msgs::ObjectEvidence_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "wire_msgs/ObjectEvidence";
00090   }
00091 
00092   static const char* value(const  ::wire_msgs::ObjectEvidence_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::wire_msgs::ObjectEvidence_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "float64 certainty\n\
00100 bool negative\n\
00101 \n\
00102 Property[] properties\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: wire_msgs/Property\n\
00106 string attribute\n\
00107 problib/PDF pdf\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: problib/PDF\n\
00111 uint8 EXACT=0     # Is here for easier msg creation, but is actually a specialized case:\n\
00112                   # - continuous: is a Gaussian with zero covariance\n\
00113                   # - discrete: is a Discrete pdf with one entry with P=1                \n\
00114 uint8 GAUSSIAN=1\n\
00115 uint8 UNIFORM=2\n\
00116 uint8 PARTICLES=3\n\
00117 uint8 MIXTURE=4\n\
00118 uint8 DISCRETE=5\n\
00119 uint8 HYBRID=6\n\
00120 \n\
00121 uint8 type\n\
00122 uint32 dimensions\n\
00123 \n\
00124 # For continuous pdf's\n\
00125 float64[] data\n\
00126 \n\
00127 # For discrete pdf's (pmf)\n\
00128 int32 domain_size\n\
00129 string[] values\n\
00130 float64[] probabilities\n\
00131 \n\
00132 # For exact values, either a string or a vector\n\
00133 string exact_value_str\n\
00134 float64[] exact_value_vec\n\
00135 \n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::wire_msgs::ObjectEvidence_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 } // namespace message_traits
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149 
00150 template<class ContainerAllocator> struct Serializer< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >
00151 {
00152   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153   {
00154     stream.next(m.certainty);
00155     stream.next(m.negative);
00156     stream.next(m.properties);
00157   }
00158 
00159   ROS_DECLARE_ALLINONE_SERIALIZER;
00160 }; // struct ObjectEvidence_
00161 } // namespace serialization
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168 
00169 template<class ContainerAllocator>
00170 struct Printer< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >
00171 {
00172   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wire_msgs::ObjectEvidence_<ContainerAllocator> & v) 
00173   {
00174     s << indent << "certainty: ";
00175     Printer<double>::stream(s, indent + "  ", v.certainty);
00176     s << indent << "negative: ";
00177     Printer<uint8_t>::stream(s, indent + "  ", v.negative);
00178     s << indent << "properties[]" << std::endl;
00179     for (size_t i = 0; i < v.properties.size(); ++i)
00180     {
00181       s << indent << "  properties[" << i << "]: ";
00182       s << std::endl;
00183       s << indent;
00184       Printer< ::wire_msgs::Property_<ContainerAllocator> >::stream(s, indent + "    ", v.properties[i]);
00185     }
00186   }
00187 };
00188 
00189 
00190 } // namespace message_operations
00191 } // namespace ros
00192 
00193 #endif // WIRE_MSGS_MESSAGE_OBJECTEVIDENCE_H
00194 


wire_msgs
Author(s): Sjoerd van den Dries
autogenerated on Tue Jan 7 2014 11:42:56