$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_env_model/srv/InsertBoundingBox.srv */ 00002 #ifndef SRS_ENV_MODEL_SERVICE_INSERTBOUNDINGBOX_H 00003 #define SRS_ENV_MODEL_SERVICE_INSERTBOUNDINGBOX_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 "geometry_msgs/Pose.h" 00020 #include "geometry_msgs/Vector3.h" 00021 00022 00023 00024 namespace srs_env_model 00025 { 00026 template <class ContainerAllocator> 00027 struct InsertBoundingBoxRequest_ { 00028 typedef InsertBoundingBoxRequest_<ContainerAllocator> Type; 00029 00030 InsertBoundingBoxRequest_() 00031 : object_id(0) 00032 , pose() 00033 , scale() 00034 { 00035 } 00036 00037 InsertBoundingBoxRequest_(const ContainerAllocator& _alloc) 00038 : object_id(0) 00039 , pose(_alloc) 00040 , scale(_alloc) 00041 { 00042 } 00043 00044 typedef uint32_t _object_id_type; 00045 uint32_t object_id; 00046 00047 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type; 00048 ::geometry_msgs::Pose_<ContainerAllocator> pose; 00049 00050 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _scale_type; 00051 ::geometry_msgs::Vector3_<ContainerAllocator> scale; 00052 00053 00054 private: 00055 static const char* __s_getDataType_() { return "srs_env_model/InsertBoundingBoxRequest"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00058 00059 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00060 00061 private: 00062 static const char* __s_getMD5Sum_() { return "2b6c5593c826d04cc1f90173a37ea463"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getServerMD5Sum_() { return "4b25c4926995de02ac61814fb35d6ad1"; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00072 00073 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00074 00075 private: 00076 static const char* __s_getMessageDefinition_() { return "uint32 object_id\n\ 00077 geometry_msgs/Pose pose\n\ 00078 geometry_msgs/Vector3 scale\n\ 00079 \n\ 00080 ================================================================================\n\ 00081 MSG: geometry_msgs/Pose\n\ 00082 # A representation of pose in free space, composed of postion and orientation. \n\ 00083 Point position\n\ 00084 Quaternion orientation\n\ 00085 \n\ 00086 ================================================================================\n\ 00087 MSG: geometry_msgs/Point\n\ 00088 # This contains the position of a point in free space\n\ 00089 float64 x\n\ 00090 float64 y\n\ 00091 float64 z\n\ 00092 \n\ 00093 ================================================================================\n\ 00094 MSG: geometry_msgs/Quaternion\n\ 00095 # This represents an orientation in free space in quaternion form.\n\ 00096 \n\ 00097 float64 x\n\ 00098 float64 y\n\ 00099 float64 z\n\ 00100 float64 w\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: geometry_msgs/Vector3\n\ 00104 # This represents a vector in free space. \n\ 00105 \n\ 00106 float64 x\n\ 00107 float64 y\n\ 00108 float64 z\n\ 00109 "; } 00110 public: 00111 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00112 00113 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00116 { 00117 ros::serialization::OStream stream(write_ptr, 1000000000); 00118 ros::serialization::serialize(stream, object_id); 00119 ros::serialization::serialize(stream, pose); 00120 ros::serialization::serialize(stream, scale); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00125 { 00126 ros::serialization::IStream stream(read_ptr, 1000000000); 00127 ros::serialization::deserialize(stream, object_id); 00128 ros::serialization::deserialize(stream, pose); 00129 ros::serialization::deserialize(stream, scale); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(object_id); 00137 size += ros::serialization::serializationLength(pose); 00138 size += ros::serialization::serializationLength(scale); 00139 return size; 00140 } 00141 00142 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > Ptr; 00143 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> const> ConstPtr; 00144 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00145 }; // struct InsertBoundingBoxRequest 00146 typedef ::srs_env_model::InsertBoundingBoxRequest_<std::allocator<void> > InsertBoundingBoxRequest; 00147 00148 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxRequest> InsertBoundingBoxRequestPtr; 00149 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxRequest const> InsertBoundingBoxRequestConstPtr; 00150 00151 00152 template <class ContainerAllocator> 00153 struct InsertBoundingBoxResponse_ { 00154 typedef InsertBoundingBoxResponse_<ContainerAllocator> Type; 00155 00156 InsertBoundingBoxResponse_() 00157 : object_id(0) 00158 { 00159 } 00160 00161 InsertBoundingBoxResponse_(const ContainerAllocator& _alloc) 00162 : object_id(0) 00163 { 00164 } 00165 00166 typedef uint32_t _object_id_type; 00167 uint32_t object_id; 00168 00169 00170 private: 00171 static const char* __s_getDataType_() { return "srs_env_model/InsertBoundingBoxResponse"; } 00172 public: 00173 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00174 00175 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00176 00177 private: 00178 static const char* __s_getMD5Sum_() { return "3bc61e324c1dd4520ddb0edb73571599"; } 00179 public: 00180 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00181 00182 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00183 00184 private: 00185 static const char* __s_getServerMD5Sum_() { return "4b25c4926995de02ac61814fb35d6ad1"; } 00186 public: 00187 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00188 00189 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00190 00191 private: 00192 static const char* __s_getMessageDefinition_() { return "uint32 object_id\n\ 00193 \n\ 00194 "; } 00195 public: 00196 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00197 00198 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00199 00200 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00201 { 00202 ros::serialization::OStream stream(write_ptr, 1000000000); 00203 ros::serialization::serialize(stream, object_id); 00204 return stream.getData(); 00205 } 00206 00207 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00208 { 00209 ros::serialization::IStream stream(read_ptr, 1000000000); 00210 ros::serialization::deserialize(stream, object_id); 00211 return stream.getData(); 00212 } 00213 00214 ROS_DEPRECATED virtual uint32_t serializationLength() const 00215 { 00216 uint32_t size = 0; 00217 size += ros::serialization::serializationLength(object_id); 00218 return size; 00219 } 00220 00221 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > Ptr; 00222 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> const> ConstPtr; 00223 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00224 }; // struct InsertBoundingBoxResponse 00225 typedef ::srs_env_model::InsertBoundingBoxResponse_<std::allocator<void> > InsertBoundingBoxResponse; 00226 00227 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxResponse> InsertBoundingBoxResponsePtr; 00228 typedef boost::shared_ptr< ::srs_env_model::InsertBoundingBoxResponse const> InsertBoundingBoxResponseConstPtr; 00229 00230 struct InsertBoundingBox 00231 { 00232 00233 typedef InsertBoundingBoxRequest Request; 00234 typedef InsertBoundingBoxResponse Response; 00235 Request request; 00236 Response response; 00237 00238 typedef Request RequestType; 00239 typedef Response ResponseType; 00240 }; // struct InsertBoundingBox 00241 } // namespace srs_env_model 00242 00243 namespace ros 00244 { 00245 namespace message_traits 00246 { 00247 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > : public TrueType {}; 00248 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> const> : public TrueType {}; 00249 template<class ContainerAllocator> 00250 struct MD5Sum< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "2b6c5593c826d04cc1f90173a37ea463"; 00254 } 00255 00256 static const char* value(const ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 00257 static const uint64_t static_value1 = 0x2b6c5593c826d04cULL; 00258 static const uint64_t static_value2 = 0xc1f90173a37ea463ULL; 00259 }; 00260 00261 template<class ContainerAllocator> 00262 struct DataType< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > { 00263 static const char* value() 00264 { 00265 return "srs_env_model/InsertBoundingBoxRequest"; 00266 } 00267 00268 static const char* value(const ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct Definition< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "uint32 object_id\n\ 00276 geometry_msgs/Pose pose\n\ 00277 geometry_msgs/Vector3 scale\n\ 00278 \n\ 00279 ================================================================================\n\ 00280 MSG: geometry_msgs/Pose\n\ 00281 # A representation of pose in free space, composed of postion and orientation. \n\ 00282 Point position\n\ 00283 Quaternion orientation\n\ 00284 \n\ 00285 ================================================================================\n\ 00286 MSG: geometry_msgs/Point\n\ 00287 # This contains the position of a point in free space\n\ 00288 float64 x\n\ 00289 float64 y\n\ 00290 float64 z\n\ 00291 \n\ 00292 ================================================================================\n\ 00293 MSG: geometry_msgs/Quaternion\n\ 00294 # This represents an orientation in free space in quaternion form.\n\ 00295 \n\ 00296 float64 x\n\ 00297 float64 y\n\ 00298 float64 z\n\ 00299 float64 w\n\ 00300 \n\ 00301 ================================================================================\n\ 00302 MSG: geometry_msgs/Vector3\n\ 00303 # This represents a vector in free space. \n\ 00304 \n\ 00305 float64 x\n\ 00306 float64 y\n\ 00307 float64 z\n\ 00308 "; 00309 } 00310 00311 static const char* value(const ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 00312 }; 00313 00314 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > : public TrueType {}; 00315 } // namespace message_traits 00316 } // namespace ros 00317 00318 00319 namespace ros 00320 { 00321 namespace message_traits 00322 { 00323 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > : public TrueType {}; 00324 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> const> : public TrueType {}; 00325 template<class ContainerAllocator> 00326 struct MD5Sum< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > { 00327 static const char* value() 00328 { 00329 return "3bc61e324c1dd4520ddb0edb73571599"; 00330 } 00331 00332 static const char* value(const ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 00333 static const uint64_t static_value1 = 0x3bc61e324c1dd452ULL; 00334 static const uint64_t static_value2 = 0x0ddb0edb73571599ULL; 00335 }; 00336 00337 template<class ContainerAllocator> 00338 struct DataType< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > { 00339 static const char* value() 00340 { 00341 return "srs_env_model/InsertBoundingBoxResponse"; 00342 } 00343 00344 static const char* value(const ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 00345 }; 00346 00347 template<class ContainerAllocator> 00348 struct Definition< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > { 00349 static const char* value() 00350 { 00351 return "uint32 object_id\n\ 00352 \n\ 00353 "; 00354 } 00355 00356 static const char* value(const ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 00357 }; 00358 00359 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > : public TrueType {}; 00360 } // namespace message_traits 00361 } // namespace ros 00362 00363 namespace ros 00364 { 00365 namespace serialization 00366 { 00367 00368 template<class ContainerAllocator> struct Serializer< ::srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > 00369 { 00370 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00371 { 00372 stream.next(m.object_id); 00373 stream.next(m.pose); 00374 stream.next(m.scale); 00375 } 00376 00377 ROS_DECLARE_ALLINONE_SERIALIZER; 00378 }; // struct InsertBoundingBoxRequest_ 00379 } // namespace serialization 00380 } // namespace ros 00381 00382 00383 namespace ros 00384 { 00385 namespace serialization 00386 { 00387 00388 template<class ContainerAllocator> struct Serializer< ::srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > 00389 { 00390 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00391 { 00392 stream.next(m.object_id); 00393 } 00394 00395 ROS_DECLARE_ALLINONE_SERIALIZER; 00396 }; // struct InsertBoundingBoxResponse_ 00397 } // namespace serialization 00398 } // namespace ros 00399 00400 namespace ros 00401 { 00402 namespace service_traits 00403 { 00404 template<> 00405 struct MD5Sum<srs_env_model::InsertBoundingBox> { 00406 static const char* value() 00407 { 00408 return "4b25c4926995de02ac61814fb35d6ad1"; 00409 } 00410 00411 static const char* value(const srs_env_model::InsertBoundingBox&) { return value(); } 00412 }; 00413 00414 template<> 00415 struct DataType<srs_env_model::InsertBoundingBox> { 00416 static const char* value() 00417 { 00418 return "srs_env_model/InsertBoundingBox"; 00419 } 00420 00421 static const char* value(const srs_env_model::InsertBoundingBox&) { return value(); } 00422 }; 00423 00424 template<class ContainerAllocator> 00425 struct MD5Sum<srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > { 00426 static const char* value() 00427 { 00428 return "4b25c4926995de02ac61814fb35d6ad1"; 00429 } 00430 00431 static const char* value(const srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 00432 }; 00433 00434 template<class ContainerAllocator> 00435 struct DataType<srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> > { 00436 static const char* value() 00437 { 00438 return "srs_env_model/InsertBoundingBox"; 00439 } 00440 00441 static const char* value(const srs_env_model::InsertBoundingBoxRequest_<ContainerAllocator> &) { return value(); } 00442 }; 00443 00444 template<class ContainerAllocator> 00445 struct MD5Sum<srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > { 00446 static const char* value() 00447 { 00448 return "4b25c4926995de02ac61814fb35d6ad1"; 00449 } 00450 00451 static const char* value(const srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 00452 }; 00453 00454 template<class ContainerAllocator> 00455 struct DataType<srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> > { 00456 static const char* value() 00457 { 00458 return "srs_env_model/InsertBoundingBox"; 00459 } 00460 00461 static const char* value(const srs_env_model::InsertBoundingBoxResponse_<ContainerAllocator> &) { return value(); } 00462 }; 00463 00464 } // namespace service_traits 00465 } // namespace ros 00466 00467 #endif // SRS_ENV_MODEL_SERVICE_INSERTBOUNDINGBOX_H 00468