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