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


worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Sep 2 2013 11:37:27