ObjectModel.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/ObjectModel.msg */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTMODEL_H
00003 #define HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTMODEL_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 "hector_worldmodel_msgs/Object.h"
00019 
00020 namespace hector_worldmodel_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ObjectModel_ {
00024   typedef ObjectModel_<ContainerAllocator> Type;
00025 
00026   ObjectModel_()
00027   : header()
00028   , objects()
00029   {
00030   }
00031 
00032   ObjectModel_(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< ::hector_worldmodel_msgs::Object_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >::other >  _objects_type;
00042   std::vector< ::hector_worldmodel_msgs::Object_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >::other >  objects;
00043 
00044 
00045   typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct ObjectModel
00049 typedef  ::hector_worldmodel_msgs::ObjectModel_<std::allocator<void> > ObjectModel;
00050 
00051 typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectModel> ObjectModelPtr;
00052 typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectModel const> ObjectModelConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace hector_worldmodel_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "0e38ac3cfe11f476b7d55135cfbc074a";
00074   }
00075 
00076   static const char* value(const  ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x0e38ac3cfe11f476ULL;
00078   static const uint64_t static_value2 = 0xb7d55135cfbc074aULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "hector_worldmodel_msgs/ObjectModel";
00086   }
00087 
00088   static const char* value(const  ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# hector_worldmodel_msgs/ObjectModel\n\
00096 # This message represents a collection of known objects.\n\
00097 \n\
00098 Header header\n\
00099 Object[] objects\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: std_msgs/Header\n\
00103 # Standard metadata for higher-level stamped data types.\n\
00104 # This is generally used to communicate timestamped data \n\
00105 # in a particular coordinate frame.\n\
00106 # \n\
00107 # sequence ID: consecutively increasing ID \n\
00108 uint32 seq\n\
00109 #Two-integer timestamp that is expressed as:\n\
00110 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00111 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00112 # time-handling sugar is provided by the client library\n\
00113 time stamp\n\
00114 #Frame this data is associated with\n\
00115 # 0: no frame\n\
00116 # 1: global frame\n\
00117 string frame_id\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: hector_worldmodel_msgs/Object\n\
00121 # hector_worldmodel_msgs/Object\n\
00122 # This message represents an estimate of an object's pose and identity.\n\
00123 \n\
00124 # The header.\n\
00125 #   stamp: Timestamp of last update.\n\
00126 #   frame_id: Coordinate frame, in which the pose is given\n\
00127 Header header\n\
00128 \n\
00129 # The pose\n\
00130 geometry_msgs/PoseWithCovariance pose\n\
00131 \n\
00132 # Further information about the object\n\
00133 ObjectInfo info\n\
00134 \n\
00135 # The tracked state of the object\n\
00136 ObjectState state\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/PoseWithCovariance\n\
00140 # This represents a pose in free space with uncertainty.\n\
00141 \n\
00142 Pose pose\n\
00143 \n\
00144 # Row-major representation of the 6x6 covariance matrix\n\
00145 # The orientation parameters use a fixed-axis representation.\n\
00146 # In order, the parameters are:\n\
00147 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00148 float64[36] covariance\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Pose\n\
00152 # A representation of pose in free space, composed of postion and orientation. \n\
00153 Point position\n\
00154 Quaternion orientation\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/Point\n\
00158 # This contains the position of a point in free space\n\
00159 float64 x\n\
00160 float64 y\n\
00161 float64 z\n\
00162 \n\
00163 ================================================================================\n\
00164 MSG: geometry_msgs/Quaternion\n\
00165 # This represents an orientation in free space in quaternion form.\n\
00166 \n\
00167 float64 x\n\
00168 float64 y\n\
00169 float64 z\n\
00170 float64 w\n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: hector_worldmodel_msgs/ObjectInfo\n\
00174 # hector_worldmodel_msgs/ObjectInfo\n\
00175 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00176 \n\
00177 # A string identifying the object's class (all objects of a class look the same)\n\
00178 string class_id\n\
00179 \n\
00180 # A string identifying the specific object\n\
00181 string object_id\n\
00182 \n\
00183 # A string that contains the name or a description of the specific object\n\
00184 string name\n\
00185 \n\
00186 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00187 float32 support\n\
00188 \n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: hector_worldmodel_msgs/ObjectState\n\
00192 # The state of an object estimate used to track\n\
00193 # states smaller than 0 disable all updates\n\
00194 \n\
00195 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00196 int8 UNKNOWN = 0\n\
00197 int8 PENDING = 1\n\
00198 int8 ACTIVE  = 2\n\
00199 int8 INACTIVE = 3\n\
00200 int8 CONFIRMED = -1\n\
00201 int8 DISCARDED = -2\n\
00202 int8 APPROACHING = -3\n\
00203 \n\
00204 int8 state\n\
00205 \n\
00206 ";
00207   }
00208 
00209   static const char* value(const  ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> &) { return value(); } 
00210 };
00211 
00212 template<class ContainerAllocator> struct HasHeader< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > : public TrueType {};
00213 template<class ContainerAllocator> struct HasHeader< const ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> > : public TrueType {};
00214 } // namespace message_traits
00215 } // namespace ros
00216 
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221 
00222 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> >
00223 {
00224   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225   {
00226     stream.next(m.header);
00227     stream.next(m.objects);
00228   }
00229 
00230   ROS_DECLARE_ALLINONE_SERIALIZER;
00231 }; // struct ObjectModel_
00232 } // namespace serialization
00233 } // namespace ros
00234 
00235 namespace ros
00236 {
00237 namespace message_operations
00238 {
00239 
00240 template<class ContainerAllocator>
00241 struct Printer< ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> >
00242 {
00243   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_worldmodel_msgs::ObjectModel_<ContainerAllocator> & v) 
00244   {
00245     s << indent << "header: ";
00246 s << std::endl;
00247     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00248     s << indent << "objects[]" << std::endl;
00249     for (size_t i = 0; i < v.objects.size(); ++i)
00250     {
00251       s << indent << "  objects[" << i << "]: ";
00252       s << std::endl;
00253       s << indent;
00254       Printer< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >::stream(s, indent + "    ", v.objects[i]);
00255     }
00256   }
00257 };
00258 
00259 
00260 } // namespace message_operations
00261 } // namespace ros
00262 
00263 #endif // HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTMODEL_H
00264 


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