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