$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/GetAlignedBox.srv */ 00002 #ifndef SRS_ENV_MODEL_SERVICE_GETALIGNEDBOX_H 00003 #define SRS_ENV_MODEL_SERVICE_GETALIGNEDBOX_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/Point32.h" 00022 #include "geometry_msgs/Vector3.h" 00023 00024 namespace srs_env_model 00025 { 00026 template <class ContainerAllocator> 00027 struct GetAlignedBoxRequest_ { 00028 typedef GetAlignedBoxRequest_<ContainerAllocator> Type; 00029 00030 GetAlignedBoxRequest_() 00031 : object_id(0) 00032 { 00033 } 00034 00035 GetAlignedBoxRequest_(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/GetAlignedBoxRequest"; } 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 "e1501d78aed46fa316941ce21c300f6d"; } 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::GetAlignedBoxRequest_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct GetAlignedBoxRequest 00099 typedef ::srs_env_model::GetAlignedBoxRequest_<std::allocator<void> > GetAlignedBoxRequest; 00100 00101 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxRequest> GetAlignedBoxRequestPtr; 00102 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxRequest const> GetAlignedBoxRequestConstPtr; 00103 00104 00105 template <class ContainerAllocator> 00106 struct GetAlignedBoxResponse_ { 00107 typedef GetAlignedBoxResponse_<ContainerAllocator> Type; 00108 00109 GetAlignedBoxResponse_() 00110 : position() 00111 , scale() 00112 { 00113 } 00114 00115 GetAlignedBoxResponse_(const ContainerAllocator& _alloc) 00116 : position(_alloc) 00117 , scale(_alloc) 00118 { 00119 } 00120 00121 typedef ::geometry_msgs::Point32_<ContainerAllocator> _position_type; 00122 ::geometry_msgs::Point32_<ContainerAllocator> position; 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/GetAlignedBoxResponse"; } 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 "79ddaff14b17c7f2a18632e879ae9acb"; } 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 "e1501d78aed46fa316941ce21c300f6d"; } 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/Point32 position\n\ 00151 geometry_msgs/Vector3 scale\n\ 00152 \n\ 00153 ================================================================================\n\ 00154 MSG: geometry_msgs/Point32\n\ 00155 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00156 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00157 # \n\ 00158 # This recommendation is to promote interoperability. \n\ 00159 #\n\ 00160 # This message is designed to take up less space when sending\n\ 00161 # lots of points at once, as in the case of a PointCloud. \n\ 00162 \n\ 00163 float32 x\n\ 00164 float32 y\n\ 00165 float32 z\n\ 00166 ================================================================================\n\ 00167 MSG: geometry_msgs/Vector3\n\ 00168 # This represents a vector in free space. \n\ 00169 \n\ 00170 float64 x\n\ 00171 float64 y\n\ 00172 float64 z\n\ 00173 "; } 00174 public: 00175 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00176 00177 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00178 00179 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00180 { 00181 ros::serialization::OStream stream(write_ptr, 1000000000); 00182 ros::serialization::serialize(stream, position); 00183 ros::serialization::serialize(stream, scale); 00184 return stream.getData(); 00185 } 00186 00187 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00188 { 00189 ros::serialization::IStream stream(read_ptr, 1000000000); 00190 ros::serialization::deserialize(stream, position); 00191 ros::serialization::deserialize(stream, scale); 00192 return stream.getData(); 00193 } 00194 00195 ROS_DEPRECATED virtual uint32_t serializationLength() const 00196 { 00197 uint32_t size = 0; 00198 size += ros::serialization::serializationLength(position); 00199 size += ros::serialization::serializationLength(scale); 00200 return size; 00201 } 00202 00203 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > Ptr; 00204 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> const> ConstPtr; 00205 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00206 }; // struct GetAlignedBoxResponse 00207 typedef ::srs_env_model::GetAlignedBoxResponse_<std::allocator<void> > GetAlignedBoxResponse; 00208 00209 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxResponse> GetAlignedBoxResponsePtr; 00210 typedef boost::shared_ptr< ::srs_env_model::GetAlignedBoxResponse const> GetAlignedBoxResponseConstPtr; 00211 00212 struct GetAlignedBox 00213 { 00214 00215 typedef GetAlignedBoxRequest Request; 00216 typedef GetAlignedBoxResponse Response; 00217 Request request; 00218 Response response; 00219 00220 typedef Request RequestType; 00221 typedef Response ResponseType; 00222 }; // struct GetAlignedBox 00223 } // namespace srs_env_model 00224 00225 namespace ros 00226 { 00227 namespace message_traits 00228 { 00229 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > : public TrueType {}; 00230 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> const> : public TrueType {}; 00231 template<class ContainerAllocator> 00232 struct MD5Sum< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > { 00233 static const char* value() 00234 { 00235 return "3bc61e324c1dd4520ddb0edb73571599"; 00236 } 00237 00238 static const char* value(const ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> &) { return value(); } 00239 static const uint64_t static_value1 = 0x3bc61e324c1dd452ULL; 00240 static const uint64_t static_value2 = 0x0ddb0edb73571599ULL; 00241 }; 00242 00243 template<class ContainerAllocator> 00244 struct DataType< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > { 00245 static const char* value() 00246 { 00247 return "srs_env_model/GetAlignedBoxRequest"; 00248 } 00249 00250 static const char* value(const ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> &) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct Definition< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "uint32 object_id\n\ 00258 \n\ 00259 "; 00260 } 00261 00262 static const char* value(const ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> &) { return value(); } 00263 }; 00264 00265 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > : public TrueType {}; 00266 } // namespace message_traits 00267 } // namespace ros 00268 00269 00270 namespace ros 00271 { 00272 namespace message_traits 00273 { 00274 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > : public TrueType {}; 00275 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> const> : public TrueType {}; 00276 template<class ContainerAllocator> 00277 struct MD5Sum< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "79ddaff14b17c7f2a18632e879ae9acb"; 00281 } 00282 00283 static const char* value(const ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> &) { return value(); } 00284 static const uint64_t static_value1 = 0x79ddaff14b17c7f2ULL; 00285 static const uint64_t static_value2 = 0xa18632e879ae9acbULL; 00286 }; 00287 00288 template<class ContainerAllocator> 00289 struct DataType< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > { 00290 static const char* value() 00291 { 00292 return "srs_env_model/GetAlignedBoxResponse"; 00293 } 00294 00295 static const char* value(const ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> &) { return value(); } 00296 }; 00297 00298 template<class ContainerAllocator> 00299 struct Definition< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > { 00300 static const char* value() 00301 { 00302 return "geometry_msgs/Point32 position\n\ 00303 geometry_msgs/Vector3 scale\n\ 00304 \n\ 00305 ================================================================================\n\ 00306 MSG: geometry_msgs/Point32\n\ 00307 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00308 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00309 # \n\ 00310 # This recommendation is to promote interoperability. \n\ 00311 #\n\ 00312 # This message is designed to take up less space when sending\n\ 00313 # lots of points at once, as in the case of a PointCloud. \n\ 00314 \n\ 00315 float32 x\n\ 00316 float32 y\n\ 00317 float32 z\n\ 00318 ================================================================================\n\ 00319 MSG: geometry_msgs/Vector3\n\ 00320 # This represents a vector in free space. \n\ 00321 \n\ 00322 float64 x\n\ 00323 float64 y\n\ 00324 float64 z\n\ 00325 "; 00326 } 00327 00328 static const char* value(const ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> &) { return value(); } 00329 }; 00330 00331 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > : public TrueType {}; 00332 } // namespace message_traits 00333 } // namespace ros 00334 00335 namespace ros 00336 { 00337 namespace serialization 00338 { 00339 00340 template<class ContainerAllocator> struct Serializer< ::srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > 00341 { 00342 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00343 { 00344 stream.next(m.object_id); 00345 } 00346 00347 ROS_DECLARE_ALLINONE_SERIALIZER; 00348 }; // struct GetAlignedBoxRequest_ 00349 } // namespace serialization 00350 } // namespace ros 00351 00352 00353 namespace ros 00354 { 00355 namespace serialization 00356 { 00357 00358 template<class ContainerAllocator> struct Serializer< ::srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > 00359 { 00360 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00361 { 00362 stream.next(m.position); 00363 stream.next(m.scale); 00364 } 00365 00366 ROS_DECLARE_ALLINONE_SERIALIZER; 00367 }; // struct GetAlignedBoxResponse_ 00368 } // namespace serialization 00369 } // namespace ros 00370 00371 namespace ros 00372 { 00373 namespace service_traits 00374 { 00375 template<> 00376 struct MD5Sum<srs_env_model::GetAlignedBox> { 00377 static const char* value() 00378 { 00379 return "e1501d78aed46fa316941ce21c300f6d"; 00380 } 00381 00382 static const char* value(const srs_env_model::GetAlignedBox&) { return value(); } 00383 }; 00384 00385 template<> 00386 struct DataType<srs_env_model::GetAlignedBox> { 00387 static const char* value() 00388 { 00389 return "srs_env_model/GetAlignedBox"; 00390 } 00391 00392 static const char* value(const srs_env_model::GetAlignedBox&) { return value(); } 00393 }; 00394 00395 template<class ContainerAllocator> 00396 struct MD5Sum<srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > { 00397 static const char* value() 00398 { 00399 return "e1501d78aed46fa316941ce21c300f6d"; 00400 } 00401 00402 static const char* value(const srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> &) { return value(); } 00403 }; 00404 00405 template<class ContainerAllocator> 00406 struct DataType<srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> > { 00407 static const char* value() 00408 { 00409 return "srs_env_model/GetAlignedBox"; 00410 } 00411 00412 static const char* value(const srs_env_model::GetAlignedBoxRequest_<ContainerAllocator> &) { return value(); } 00413 }; 00414 00415 template<class ContainerAllocator> 00416 struct MD5Sum<srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > { 00417 static const char* value() 00418 { 00419 return "e1501d78aed46fa316941ce21c300f6d"; 00420 } 00421 00422 static const char* value(const srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> &) { return value(); } 00423 }; 00424 00425 template<class ContainerAllocator> 00426 struct DataType<srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> > { 00427 static const char* value() 00428 { 00429 return "srs_env_model/GetAlignedBox"; 00430 } 00431 00432 static const char* value(const srs_env_model::GetAlignedBoxResponse_<ContainerAllocator> &) { return value(); } 00433 }; 00434 00435 } // namespace service_traits 00436 } // namespace ros 00437 00438 #endif // SRS_ENV_MODEL_SERVICE_GETALIGNEDBOX_H 00439