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