WorldState.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/WorldState.msg */
00002 #ifndef WIRE_MSGS_MESSAGE_WORLDSTATE_H
00003 #define WIRE_MSGS_MESSAGE_WORLDSTATE_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/ObjectState.h"
00019 
00020 namespace wire_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct WorldState_ {
00024   typedef WorldState_<ContainerAllocator> Type;
00025 
00026   WorldState_()
00027   : header()
00028   , objects()
00029   {
00030   }
00031 
00032   WorldState_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , objects(_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::ObjectState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::ObjectState_<ContainerAllocator> >::other >  _objects_type;
00042   std::vector< ::wire_msgs::ObjectState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wire_msgs::ObjectState_<ContainerAllocator> >::other >  objects;
00043 
00044 
00045   typedef boost::shared_ptr< ::wire_msgs::WorldState_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::wire_msgs::WorldState_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct WorldState
00049 typedef  ::wire_msgs::WorldState_<std::allocator<void> > WorldState;
00050 
00051 typedef boost::shared_ptr< ::wire_msgs::WorldState> WorldStatePtr;
00052 typedef boost::shared_ptr< ::wire_msgs::WorldState const> WorldStateConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::wire_msgs::WorldState_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::wire_msgs::WorldState_<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::WorldState_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::WorldState_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::wire_msgs::WorldState_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "cbb30658c5399203b49098926c4c30ed";
00074   }
00075 
00076   static const char* value(const  ::wire_msgs::WorldState_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xcbb30658c5399203ULL;
00078   static const uint64_t static_value2 = 0xb49098926c4c30edULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::wire_msgs::WorldState_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "wire_msgs/WorldState";
00086   }
00087 
00088   static const char* value(const  ::wire_msgs::WorldState_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::wire_msgs::WorldState_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 ObjectState[] objects\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/ObjectState\n\
00118 uint32 ID\n\
00119 float64 probability # probability that this object is actually in the world\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::WorldState_<ContainerAllocator> &) { return value(); } 
00159 };
00160 
00161 template<class ContainerAllocator> struct HasHeader< ::wire_msgs::WorldState_<ContainerAllocator> > : public TrueType {};
00162 template<class ContainerAllocator> struct HasHeader< const ::wire_msgs::WorldState_<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::WorldState_<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.objects);
00177   }
00178 
00179   ROS_DECLARE_ALLINONE_SERIALIZER;
00180 }; // struct WorldState_
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::WorldState_<ContainerAllocator> >
00191 {
00192   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wire_msgs::WorldState_<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 << "objects[]" << std::endl;
00198     for (size_t i = 0; i < v.objects.size(); ++i)
00199     {
00200       s << indent << "  objects[" << i << "]: ";
00201       s << std::endl;
00202       s << indent;
00203       Printer< ::wire_msgs::ObjectState_<ContainerAllocator> >::stream(s, indent + "    ", v.objects[i]);
00204     }
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // WIRE_MSGS_MESSAGE_WORLDSTATE_H
00213 


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