WorldEvidence.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/WorldEvidence.msg */
00002 #ifndef WIRE_MSGS_MESSAGE_WORLDEVIDENCE_H
00003 #define WIRE_MSGS_MESSAGE_WORLDEVIDENCE_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 "std_msgs/Header.h"
00018 #include "wire_msgs/ObjectEvidence.h"
00019 
00020 namespace wire_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct WorldEvidence_ {
00024   typedef WorldEvidence_<ContainerAllocator> Type;
00025 
00026   WorldEvidence_()
00027   : header()
00028   , object_evidence()
00029   {
00030   }
00031 
00032   WorldEvidence_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , object_evidence(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::wire_msgs::ObjectEvidence_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >::other >  _object_evidence_type;
00042   std::vector< ::wire_msgs::ObjectEvidence_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >::other >  object_evidence;
00043 
00044 
00045   typedef boost::shared_ptr< ::wire_msgs::WorldEvidence_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::wire_msgs::WorldEvidence_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct WorldEvidence
00049 typedef  ::wire_msgs::WorldEvidence_<std::allocator<void> > WorldEvidence;
00050 
00051 typedef boost::shared_ptr< ::wire_msgs::WorldEvidence> WorldEvidencePtr;
00052 typedef boost::shared_ptr< ::wire_msgs::WorldEvidence const> WorldEvidenceConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::wire_msgs::WorldEvidence_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::wire_msgs::WorldEvidence_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace wire_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::WorldEvidence_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::WorldEvidence_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::wire_msgs::WorldEvidence_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "3e1294571cc4e4e17ce4b1d2768db636";
00074   }
00075 
00076   static const char* value(const  ::wire_msgs::WorldEvidence_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x3e1294571cc4e4e1ULL;
00078   static const uint64_t static_value2 = 0x7ce4b1d2768db636ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::wire_msgs::WorldEvidence_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "wire_msgs/WorldEvidence";
00086   }
00087 
00088   static const char* value(const  ::wire_msgs::WorldEvidence_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::wire_msgs::WorldEvidence_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 ObjectEvidence[] object_evidence\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: wire_msgs/ObjectEvidence\n\
00118 float64 certainty\n\
00119 bool negative\n\
00120 \n\
00121 Property[] properties\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: wire_msgs/Property\n\
00125 string attribute\n\
00126 problib/PDF pdf\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: problib/PDF\n\
00130 uint8 EXACT=0     # Is here for easier msg creation, but is actually a specialized case:\n\
00131                   # - continuous: is a Gaussian with zero covariance\n\
00132                   # - discrete: is a Discrete pdf with one entry with P=1                \n\
00133 uint8 GAUSSIAN=1\n\
00134 uint8 UNIFORM=2\n\
00135 uint8 PARTICLES=3\n\
00136 uint8 MIXTURE=4\n\
00137 uint8 DISCRETE=5\n\
00138 uint8 HYBRID=6\n\
00139 \n\
00140 uint8 type\n\
00141 uint32 dimensions\n\
00142 \n\
00143 # For continuous pdf's\n\
00144 float64[] data\n\
00145 \n\
00146 # For discrete pdf's (pmf)\n\
00147 int32 domain_size\n\
00148 string[] values\n\
00149 float64[] probabilities\n\
00150 \n\
00151 # For exact values, either a string or a vector\n\
00152 string exact_value_str\n\
00153 float64[] exact_value_vec\n\
00154 \n\
00155 ";
00156   }
00157 
00158   static const char* value(const  ::wire_msgs::WorldEvidence_<ContainerAllocator> &) { return value(); } 
00159 };
00160 
00161 template<class ContainerAllocator> struct HasHeader< ::wire_msgs::WorldEvidence_<ContainerAllocator> > : public TrueType {};
00162 template<class ContainerAllocator> struct HasHeader< const ::wire_msgs::WorldEvidence_<ContainerAllocator> > : public TrueType {};
00163 } // namespace message_traits
00164 } // namespace ros
00165 
00166 namespace ros
00167 {
00168 namespace serialization
00169 {
00170 
00171 template<class ContainerAllocator> struct Serializer< ::wire_msgs::WorldEvidence_<ContainerAllocator> >
00172 {
00173   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00174   {
00175     stream.next(m.header);
00176     stream.next(m.object_evidence);
00177   }
00178 
00179   ROS_DECLARE_ALLINONE_SERIALIZER;
00180 }; // struct WorldEvidence_
00181 } // namespace serialization
00182 } // namespace ros
00183 
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188 
00189 template<class ContainerAllocator>
00190 struct Printer< ::wire_msgs::WorldEvidence_<ContainerAllocator> >
00191 {
00192   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wire_msgs::WorldEvidence_<ContainerAllocator> & v) 
00193   {
00194     s << indent << "header: ";
00195 s << std::endl;
00196     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00197     s << indent << "object_evidence[]" << std::endl;
00198     for (size_t i = 0; i < v.object_evidence.size(); ++i)
00199     {
00200       s << indent << "  object_evidence[" << i << "]: ";
00201       s << std::endl;
00202       s << indent;
00203       Printer< ::wire_msgs::ObjectEvidence_<ContainerAllocator> >::stream(s, indent + "    ", v.object_evidence[i]);
00204     }
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // WIRE_MSGS_MESSAGE_WORLDEVIDENCE_H
00213 


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