AddObject.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/srv/AddObject.srv */
00002 #ifndef WORLDMODEL_MSGS_SERVICE_ADDOBJECT_H
00003 #define WORLDMODEL_MSGS_SERVICE_ADDOBJECT_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 "ros/service_traits.h"
00018 
00019 #include "worldmodel_msgs/Object.h"
00020 
00021 
00022 #include "worldmodel_msgs/Object.h"
00023 
00024 namespace worldmodel_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct AddObjectRequest_ {
00028   typedef AddObjectRequest_<ContainerAllocator> Type;
00029 
00030   AddObjectRequest_()
00031   : object()
00032   , map_to_next_obstacle(false)
00033   {
00034   }
00035 
00036   AddObjectRequest_(const ContainerAllocator& _alloc)
00037   : object(_alloc)
00038   , map_to_next_obstacle(false)
00039   {
00040   }
00041 
00042   typedef  ::worldmodel_msgs::Object_<ContainerAllocator>  _object_type;
00043    ::worldmodel_msgs::Object_<ContainerAllocator>  object;
00044 
00045   typedef uint8_t _map_to_next_obstacle_type;
00046   uint8_t map_to_next_obstacle;
00047 
00048 
00049   typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct AddObjectRequest
00053 typedef  ::worldmodel_msgs::AddObjectRequest_<std::allocator<void> > AddObjectRequest;
00054 
00055 typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectRequest> AddObjectRequestPtr;
00056 typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectRequest const> AddObjectRequestConstPtr;
00057 
00058 
00059 
00060 template <class ContainerAllocator>
00061 struct AddObjectResponse_ {
00062   typedef AddObjectResponse_<ContainerAllocator> Type;
00063 
00064   AddObjectResponse_()
00065   : object()
00066   {
00067   }
00068 
00069   AddObjectResponse_(const ContainerAllocator& _alloc)
00070   : object(_alloc)
00071   {
00072   }
00073 
00074   typedef  ::worldmodel_msgs::Object_<ContainerAllocator>  _object_type;
00075    ::worldmodel_msgs::Object_<ContainerAllocator>  object;
00076 
00077 
00078   typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct AddObjectResponse
00082 typedef  ::worldmodel_msgs::AddObjectResponse_<std::allocator<void> > AddObjectResponse;
00083 
00084 typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectResponse> AddObjectResponsePtr;
00085 typedef boost::shared_ptr< ::worldmodel_msgs::AddObjectResponse const> AddObjectResponseConstPtr;
00086 
00087 
00088 struct AddObject
00089 {
00090 
00091 typedef AddObjectRequest Request;
00092 typedef AddObjectResponse Response;
00093 Request request;
00094 Response response;
00095 
00096 typedef Request RequestType;
00097 typedef Response ResponseType;
00098 }; // struct AddObject
00099 } // namespace worldmodel_msgs
00100 
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator>  const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "e8c82f515de9d91badcd349a0de2b742";
00112   }
00113 
00114   static const char* value(const  ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00115   static const uint64_t static_value1 = 0xe8c82f515de9d91bULL;
00116   static const uint64_t static_value2 = 0xadcd349a0de2b742ULL;
00117 };
00118 
00119 template<class ContainerAllocator>
00120 struct DataType< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "worldmodel_msgs/AddObjectRequest";
00124   }
00125 
00126   static const char* value(const  ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 template<class ContainerAllocator>
00130 struct Definition< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "\n\
00134 \n\
00135 \n\
00136 Object object\n\
00137 \n\
00138 \n\
00139 bool map_to_next_obstacle\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: worldmodel_msgs/Object\n\
00143 # This message represents an estimate of an object's pose and identity.\n\
00144 \n\
00145 # The header.\n\
00146 #   stamp: Timestamp of last update.\n\
00147 #   frame_id: Coordinate frame, in which the pose is given\n\
00148 Header header\n\
00149 \n\
00150 # The pose\n\
00151 geometry_msgs/PoseWithCovariance pose\n\
00152 \n\
00153 # Further information about the object\n\
00154 ObjectInfo info\n\
00155 \n\
00156 # The tracked state of the object\n\
00157 ObjectState state\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: std_msgs/Header\n\
00161 # Standard metadata for higher-level stamped data types.\n\
00162 # This is generally used to communicate timestamped data \n\
00163 # in a particular coordinate frame.\n\
00164 # \n\
00165 # sequence ID: consecutively increasing ID \n\
00166 uint32 seq\n\
00167 #Two-integer timestamp that is expressed as:\n\
00168 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00169 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00170 # time-handling sugar is provided by the client library\n\
00171 time stamp\n\
00172 #Frame this data is associated with\n\
00173 # 0: no frame\n\
00174 # 1: global frame\n\
00175 string frame_id\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: geometry_msgs/PoseWithCovariance\n\
00179 # This represents a pose in free space with uncertainty.\n\
00180 \n\
00181 Pose pose\n\
00182 \n\
00183 # Row-major representation of the 6x6 covariance matrix\n\
00184 # The orientation parameters use a fixed-axis representation.\n\
00185 # In order, the parameters are:\n\
00186 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00187 float64[36] covariance\n\
00188 \n\
00189 ================================================================================\n\
00190 MSG: geometry_msgs/Pose\n\
00191 # A representation of pose in free space, composed of postion and orientation. \n\
00192 Point position\n\
00193 Quaternion orientation\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geometry_msgs/Point\n\
00197 # This contains the position of a point in free space\n\
00198 float64 x\n\
00199 float64 y\n\
00200 float64 z\n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: geometry_msgs/Quaternion\n\
00204 # This represents an orientation in free space in quaternion form.\n\
00205 \n\
00206 float64 x\n\
00207 float64 y\n\
00208 float64 z\n\
00209 float64 w\n\
00210 \n\
00211 ================================================================================\n\
00212 MSG: worldmodel_msgs/ObjectInfo\n\
00213 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00214 \n\
00215 # A string identifying the object's class (all objects of a class look the same)\n\
00216 string class_id\n\
00217 \n\
00218 # A string identifying the specific object\n\
00219 string object_id\n\
00220 \n\
00221 # A string that contains the name or a description of the specific object\n\
00222 string name\n\
00223 \n\
00224 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00225 float32 support\n\
00226 \n\
00227 \n\
00228 ================================================================================\n\
00229 MSG: worldmodel_msgs/ObjectState\n\
00230 # The state of an object estimate used to track\n\
00231 # states smaller than 0 disable all updates\n\
00232 \n\
00233 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00234 int8 UNKNOWN = 0\n\
00235 int8 PENDING = 1\n\
00236 int8 ACTIVE  = 2\n\
00237 int8 INACTIVE = 3\n\
00238 int8 CONFIRMED = -1\n\
00239 int8 DISCARDED = -2\n\
00240 int8 APPROACHING = -3\n\
00241 \n\
00242 int8 state\n\
00243 \n\
00244 ";
00245   }
00246 
00247   static const char* value(const  ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00248 };
00249 
00250 } // namespace message_traits
00251 } // namespace ros
00252 
00253 
00254 namespace ros
00255 {
00256 namespace message_traits
00257 {
00258 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > : public TrueType {};
00259 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator>  const> : public TrueType {};
00260 template<class ContainerAllocator>
00261 struct MD5Sum< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00262   static const char* value() 
00263   {
00264     return "45a6d744054ce4dbd66f71ccfdc20273";
00265   }
00266 
00267   static const char* value(const  ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00268   static const uint64_t static_value1 = 0x45a6d744054ce4dbULL;
00269   static const uint64_t static_value2 = 0xd66f71ccfdc20273ULL;
00270 };
00271 
00272 template<class ContainerAllocator>
00273 struct DataType< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00274   static const char* value() 
00275   {
00276     return "worldmodel_msgs/AddObjectResponse";
00277   }
00278 
00279   static const char* value(const  ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00280 };
00281 
00282 template<class ContainerAllocator>
00283 struct Definition< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00284   static const char* value() 
00285   {
00286     return "\n\
00287 Object object\n\
00288 \n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: worldmodel_msgs/Object\n\
00292 # This message represents an estimate of an object's pose and identity.\n\
00293 \n\
00294 # The header.\n\
00295 #   stamp: Timestamp of last update.\n\
00296 #   frame_id: Coordinate frame, in which the pose is given\n\
00297 Header header\n\
00298 \n\
00299 # The pose\n\
00300 geometry_msgs/PoseWithCovariance pose\n\
00301 \n\
00302 # Further information about the object\n\
00303 ObjectInfo info\n\
00304 \n\
00305 # The tracked state of the object\n\
00306 ObjectState state\n\
00307 \n\
00308 ================================================================================\n\
00309 MSG: std_msgs/Header\n\
00310 # Standard metadata for higher-level stamped data types.\n\
00311 # This is generally used to communicate timestamped data \n\
00312 # in a particular coordinate frame.\n\
00313 # \n\
00314 # sequence ID: consecutively increasing ID \n\
00315 uint32 seq\n\
00316 #Two-integer timestamp that is expressed as:\n\
00317 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00318 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00319 # time-handling sugar is provided by the client library\n\
00320 time stamp\n\
00321 #Frame this data is associated with\n\
00322 # 0: no frame\n\
00323 # 1: global frame\n\
00324 string frame_id\n\
00325 \n\
00326 ================================================================================\n\
00327 MSG: geometry_msgs/PoseWithCovariance\n\
00328 # This represents a pose in free space with uncertainty.\n\
00329 \n\
00330 Pose pose\n\
00331 \n\
00332 # Row-major representation of the 6x6 covariance matrix\n\
00333 # The orientation parameters use a fixed-axis representation.\n\
00334 # In order, the parameters are:\n\
00335 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00336 float64[36] covariance\n\
00337 \n\
00338 ================================================================================\n\
00339 MSG: geometry_msgs/Pose\n\
00340 # A representation of pose in free space, composed of postion and orientation. \n\
00341 Point position\n\
00342 Quaternion orientation\n\
00343 \n\
00344 ================================================================================\n\
00345 MSG: geometry_msgs/Point\n\
00346 # This contains the position of a point in free space\n\
00347 float64 x\n\
00348 float64 y\n\
00349 float64 z\n\
00350 \n\
00351 ================================================================================\n\
00352 MSG: geometry_msgs/Quaternion\n\
00353 # This represents an orientation in free space in quaternion form.\n\
00354 \n\
00355 float64 x\n\
00356 float64 y\n\
00357 float64 z\n\
00358 float64 w\n\
00359 \n\
00360 ================================================================================\n\
00361 MSG: worldmodel_msgs/ObjectInfo\n\
00362 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00363 \n\
00364 # A string identifying the object's class (all objects of a class look the same)\n\
00365 string class_id\n\
00366 \n\
00367 # A string identifying the specific object\n\
00368 string object_id\n\
00369 \n\
00370 # A string that contains the name or a description of the specific object\n\
00371 string name\n\
00372 \n\
00373 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00374 float32 support\n\
00375 \n\
00376 \n\
00377 ================================================================================\n\
00378 MSG: worldmodel_msgs/ObjectState\n\
00379 # The state of an object estimate used to track\n\
00380 # states smaller than 0 disable all updates\n\
00381 \n\
00382 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00383 int8 UNKNOWN = 0\n\
00384 int8 PENDING = 1\n\
00385 int8 ACTIVE  = 2\n\
00386 int8 INACTIVE = 3\n\
00387 int8 CONFIRMED = -1\n\
00388 int8 DISCARDED = -2\n\
00389 int8 APPROACHING = -3\n\
00390 \n\
00391 int8 state\n\
00392 \n\
00393 ";
00394   }
00395 
00396   static const char* value(const  ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00397 };
00398 
00399 } // namespace message_traits
00400 } // namespace ros
00401 
00402 namespace ros
00403 {
00404 namespace serialization
00405 {
00406 
00407 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::AddObjectRequest_<ContainerAllocator> >
00408 {
00409   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00410   {
00411     stream.next(m.object);
00412     stream.next(m.map_to_next_obstacle);
00413   }
00414 
00415   ROS_DECLARE_ALLINONE_SERIALIZER;
00416 }; // struct AddObjectRequest_
00417 } // namespace serialization
00418 } // namespace ros
00419 
00420 
00421 namespace ros
00422 {
00423 namespace serialization
00424 {
00425 
00426 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::AddObjectResponse_<ContainerAllocator> >
00427 {
00428   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00429   {
00430     stream.next(m.object);
00431   }
00432 
00433   ROS_DECLARE_ALLINONE_SERIALIZER;
00434 }; // struct AddObjectResponse_
00435 } // namespace serialization
00436 } // namespace ros
00437 
00438 namespace ros
00439 {
00440 namespace service_traits
00441 {
00442 template<>
00443 struct MD5Sum<worldmodel_msgs::AddObject> {
00444   static const char* value() 
00445   {
00446     return "3fb8af17854d0a0aa1df05f91f7ba459";
00447   }
00448 
00449   static const char* value(const worldmodel_msgs::AddObject&) { return value(); } 
00450 };
00451 
00452 template<>
00453 struct DataType<worldmodel_msgs::AddObject> {
00454   static const char* value() 
00455   {
00456     return "worldmodel_msgs/AddObject";
00457   }
00458 
00459   static const char* value(const worldmodel_msgs::AddObject&) { return value(); } 
00460 };
00461 
00462 template<class ContainerAllocator>
00463 struct MD5Sum<worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00464   static const char* value() 
00465   {
00466     return "3fb8af17854d0a0aa1df05f91f7ba459";
00467   }
00468 
00469   static const char* value(const worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00470 };
00471 
00472 template<class ContainerAllocator>
00473 struct DataType<worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00474   static const char* value() 
00475   {
00476     return "worldmodel_msgs/AddObject";
00477   }
00478 
00479   static const char* value(const worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00480 };
00481 
00482 template<class ContainerAllocator>
00483 struct MD5Sum<worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00484   static const char* value() 
00485   {
00486     return "3fb8af17854d0a0aa1df05f91f7ba459";
00487   }
00488 
00489   static const char* value(const worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00490 };
00491 
00492 template<class ContainerAllocator>
00493 struct DataType<worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00494   static const char* value() 
00495   {
00496     return "worldmodel_msgs/AddObject";
00497   }
00498 
00499   static const char* value(const worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00500 };
00501 
00502 } // namespace service_traits
00503 } // namespace ros
00504 
00505 #endif // WORLDMODEL_MSGS_SERVICE_ADDOBJECT_H
00506 
 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