$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_symbolic_grounding/srv/ScanBasePose.srv */ 00002 #ifndef SRS_SYMBOLIC_GROUNDING_SERVICE_SCANBASEPOSE_H 00003 #define SRS_SYMBOLIC_GROUNDING_SERVICE_SCANBASEPOSE_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 "srs_msgs/SRSSpatialInfo.h" 00020 00021 00022 #include "geometry_msgs/Pose2D.h" 00023 00024 namespace srs_symbolic_grounding 00025 { 00026 template <class ContainerAllocator> 00027 struct ScanBasePoseRequest_ { 00028 typedef ScanBasePoseRequest_<ContainerAllocator> Type; 00029 00030 ScanBasePoseRequest_() 00031 : parent_obj_geometry() 00032 { 00033 } 00034 00035 ScanBasePoseRequest_(const ContainerAllocator& _alloc) 00036 : parent_obj_geometry(_alloc) 00037 { 00038 } 00039 00040 typedef ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> _parent_obj_geometry_type; 00041 ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> parent_obj_geometry; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "srs_symbolic_grounding/ScanBasePoseRequest"; } 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 "e9544004a6cbf3086f8e6192829b56f4"; } 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 "0b68fdc0a9a83294fed2acbcecc407b6"; } 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 "srs_msgs/SRSSpatialInfo parent_obj_geometry\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: srs_msgs/SRSSpatialInfo\n\ 00070 # Point point\n\ 00071 # Orientation angles\n\ 00072 float32 l\n\ 00073 float32 w\n\ 00074 float32 h\n\ 00075 \n\ 00076 geometry_msgs/Pose pose\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: geometry_msgs/Pose\n\ 00080 # A representation of pose in free space, composed of postion and orientation. \n\ 00081 Point position\n\ 00082 Quaternion orientation\n\ 00083 \n\ 00084 ================================================================================\n\ 00085 MSG: geometry_msgs/Point\n\ 00086 # This contains the position of a point in free space\n\ 00087 float64 x\n\ 00088 float64 y\n\ 00089 float64 z\n\ 00090 \n\ 00091 ================================================================================\n\ 00092 MSG: geometry_msgs/Quaternion\n\ 00093 # This represents an orientation in free space in quaternion form.\n\ 00094 \n\ 00095 float64 x\n\ 00096 float64 y\n\ 00097 float64 z\n\ 00098 float64 w\n\ 00099 \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, parent_obj_geometry); 00110 return stream.getData(); 00111 } 00112 00113 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00114 { 00115 ros::serialization::IStream stream(read_ptr, 1000000000); 00116 ros::serialization::deserialize(stream, parent_obj_geometry); 00117 return stream.getData(); 00118 } 00119 00120 ROS_DEPRECATED virtual uint32_t serializationLength() const 00121 { 00122 uint32_t size = 0; 00123 size += ros::serialization::serializationLength(parent_obj_geometry); 00124 return size; 00125 } 00126 00127 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > Ptr; 00128 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> const> ConstPtr; 00129 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00130 }; // struct ScanBasePoseRequest 00131 typedef ::srs_symbolic_grounding::ScanBasePoseRequest_<std::allocator<void> > ScanBasePoseRequest; 00132 00133 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseRequest> ScanBasePoseRequestPtr; 00134 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseRequest const> ScanBasePoseRequestConstPtr; 00135 00136 00137 template <class ContainerAllocator> 00138 struct ScanBasePoseResponse_ { 00139 typedef ScanBasePoseResponse_<ContainerAllocator> Type; 00140 00141 ScanBasePoseResponse_() 00142 : scan_base_pose_list() 00143 { 00144 } 00145 00146 ScanBasePoseResponse_(const ContainerAllocator& _alloc) 00147 : scan_base_pose_list(_alloc) 00148 { 00149 } 00150 00151 typedef std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > _scan_base_pose_list_type; 00152 std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > scan_base_pose_list; 00153 00154 00155 ROS_DEPRECATED uint32_t get_scan_base_pose_list_size() const { return (uint32_t)scan_base_pose_list.size(); } 00156 ROS_DEPRECATED void set_scan_base_pose_list_size(uint32_t size) { scan_base_pose_list.resize((size_t)size); } 00157 ROS_DEPRECATED void get_scan_base_pose_list_vec(std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > & vec) const { vec = this->scan_base_pose_list; } 00158 ROS_DEPRECATED void set_scan_base_pose_list_vec(const std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > & vec) { this->scan_base_pose_list = vec; } 00159 private: 00160 static const char* __s_getDataType_() { return "srs_symbolic_grounding/ScanBasePoseResponse"; } 00161 public: 00162 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00163 00164 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00165 00166 private: 00167 static const char* __s_getMD5Sum_() { return "66b4de75c1cdba6b484a2621de9dc0d6"; } 00168 public: 00169 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00170 00171 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00172 00173 private: 00174 static const char* __s_getServerMD5Sum_() { return "0b68fdc0a9a83294fed2acbcecc407b6"; } 00175 public: 00176 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00177 00178 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00179 00180 private: 00181 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Pose2D[] scan_base_pose_list\n\ 00182 \n\ 00183 \n\ 00184 \n\ 00185 \n\ 00186 \n\ 00187 ================================================================================\n\ 00188 MSG: geometry_msgs/Pose2D\n\ 00189 # This expresses a position and orientation on a 2D manifold.\n\ 00190 \n\ 00191 float64 x\n\ 00192 float64 y\n\ 00193 float64 theta\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, scan_base_pose_list); 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, scan_base_pose_list); 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(scan_base_pose_list); 00218 return size; 00219 } 00220 00221 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > Ptr; 00222 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> const> ConstPtr; 00223 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00224 }; // struct ScanBasePoseResponse 00225 typedef ::srs_symbolic_grounding::ScanBasePoseResponse_<std::allocator<void> > ScanBasePoseResponse; 00226 00227 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseResponse> ScanBasePoseResponsePtr; 00228 typedef boost::shared_ptr< ::srs_symbolic_grounding::ScanBasePoseResponse const> ScanBasePoseResponseConstPtr; 00229 00230 struct ScanBasePose 00231 { 00232 00233 typedef ScanBasePoseRequest Request; 00234 typedef ScanBasePoseResponse Response; 00235 Request request; 00236 Response response; 00237 00238 typedef Request RequestType; 00239 typedef Response ResponseType; 00240 }; // struct ScanBasePose 00241 } // namespace srs_symbolic_grounding 00242 00243 namespace ros 00244 { 00245 namespace message_traits 00246 { 00247 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > : public TrueType {}; 00248 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> const> : public TrueType {}; 00249 template<class ContainerAllocator> 00250 struct MD5Sum< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "e9544004a6cbf3086f8e6192829b56f4"; 00254 } 00255 00256 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> &) { return value(); } 00257 static const uint64_t static_value1 = 0xe9544004a6cbf308ULL; 00258 static const uint64_t static_value2 = 0x6f8e6192829b56f4ULL; 00259 }; 00260 00261 template<class ContainerAllocator> 00262 struct DataType< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > { 00263 static const char* value() 00264 { 00265 return "srs_symbolic_grounding/ScanBasePoseRequest"; 00266 } 00267 00268 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct Definition< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "srs_msgs/SRSSpatialInfo parent_obj_geometry\n\ 00276 \n\ 00277 ================================================================================\n\ 00278 MSG: srs_msgs/SRSSpatialInfo\n\ 00279 # Point point\n\ 00280 # Orientation angles\n\ 00281 float32 l\n\ 00282 float32 w\n\ 00283 float32 h\n\ 00284 \n\ 00285 geometry_msgs/Pose pose\n\ 00286 \n\ 00287 ================================================================================\n\ 00288 MSG: geometry_msgs/Pose\n\ 00289 # A representation of pose in free space, composed of postion and orientation. \n\ 00290 Point position\n\ 00291 Quaternion orientation\n\ 00292 \n\ 00293 ================================================================================\n\ 00294 MSG: geometry_msgs/Point\n\ 00295 # This contains the position of a point in free space\n\ 00296 float64 x\n\ 00297 float64 y\n\ 00298 float64 z\n\ 00299 \n\ 00300 ================================================================================\n\ 00301 MSG: geometry_msgs/Quaternion\n\ 00302 # This represents an orientation in free space in quaternion form.\n\ 00303 \n\ 00304 float64 x\n\ 00305 float64 y\n\ 00306 float64 z\n\ 00307 float64 w\n\ 00308 \n\ 00309 "; 00310 } 00311 00312 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> &) { return value(); } 00313 }; 00314 00315 template<class ContainerAllocator> struct IsFixedSize< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > : public TrueType {}; 00316 } // namespace message_traits 00317 } // namespace ros 00318 00319 00320 namespace ros 00321 { 00322 namespace message_traits 00323 { 00324 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > : public TrueType {}; 00325 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> const> : public TrueType {}; 00326 template<class ContainerAllocator> 00327 struct MD5Sum< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > { 00328 static const char* value() 00329 { 00330 return "66b4de75c1cdba6b484a2621de9dc0d6"; 00331 } 00332 00333 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> &) { return value(); } 00334 static const uint64_t static_value1 = 0x66b4de75c1cdba6bULL; 00335 static const uint64_t static_value2 = 0x484a2621de9dc0d6ULL; 00336 }; 00337 00338 template<class ContainerAllocator> 00339 struct DataType< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > { 00340 static const char* value() 00341 { 00342 return "srs_symbolic_grounding/ScanBasePoseResponse"; 00343 } 00344 00345 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> &) { return value(); } 00346 }; 00347 00348 template<class ContainerAllocator> 00349 struct Definition< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > { 00350 static const char* value() 00351 { 00352 return "geometry_msgs/Pose2D[] scan_base_pose_list\n\ 00353 \n\ 00354 \n\ 00355 \n\ 00356 \n\ 00357 \n\ 00358 ================================================================================\n\ 00359 MSG: geometry_msgs/Pose2D\n\ 00360 # This expresses a position and orientation on a 2D manifold.\n\ 00361 \n\ 00362 float64 x\n\ 00363 float64 y\n\ 00364 float64 theta\n\ 00365 "; 00366 } 00367 00368 static const char* value(const ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> &) { return value(); } 00369 }; 00370 00371 } // namespace message_traits 00372 } // namespace ros 00373 00374 namespace ros 00375 { 00376 namespace serialization 00377 { 00378 00379 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > 00380 { 00381 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00382 { 00383 stream.next(m.parent_obj_geometry); 00384 } 00385 00386 ROS_DECLARE_ALLINONE_SERIALIZER; 00387 }; // struct ScanBasePoseRequest_ 00388 } // namespace serialization 00389 } // namespace ros 00390 00391 00392 namespace ros 00393 { 00394 namespace serialization 00395 { 00396 00397 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > 00398 { 00399 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00400 { 00401 stream.next(m.scan_base_pose_list); 00402 } 00403 00404 ROS_DECLARE_ALLINONE_SERIALIZER; 00405 }; // struct ScanBasePoseResponse_ 00406 } // namespace serialization 00407 } // namespace ros 00408 00409 namespace ros 00410 { 00411 namespace service_traits 00412 { 00413 template<> 00414 struct MD5Sum<srs_symbolic_grounding::ScanBasePose> { 00415 static const char* value() 00416 { 00417 return "0b68fdc0a9a83294fed2acbcecc407b6"; 00418 } 00419 00420 static const char* value(const srs_symbolic_grounding::ScanBasePose&) { return value(); } 00421 }; 00422 00423 template<> 00424 struct DataType<srs_symbolic_grounding::ScanBasePose> { 00425 static const char* value() 00426 { 00427 return "srs_symbolic_grounding/ScanBasePose"; 00428 } 00429 00430 static const char* value(const srs_symbolic_grounding::ScanBasePose&) { return value(); } 00431 }; 00432 00433 template<class ContainerAllocator> 00434 struct MD5Sum<srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > { 00435 static const char* value() 00436 { 00437 return "0b68fdc0a9a83294fed2acbcecc407b6"; 00438 } 00439 00440 static const char* value(const srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> &) { return value(); } 00441 }; 00442 00443 template<class ContainerAllocator> 00444 struct DataType<srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> > { 00445 static const char* value() 00446 { 00447 return "srs_symbolic_grounding/ScanBasePose"; 00448 } 00449 00450 static const char* value(const srs_symbolic_grounding::ScanBasePoseRequest_<ContainerAllocator> &) { return value(); } 00451 }; 00452 00453 template<class ContainerAllocator> 00454 struct MD5Sum<srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > { 00455 static const char* value() 00456 { 00457 return "0b68fdc0a9a83294fed2acbcecc407b6"; 00458 } 00459 00460 static const char* value(const srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> &) { return value(); } 00461 }; 00462 00463 template<class ContainerAllocator> 00464 struct DataType<srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> > { 00465 static const char* value() 00466 { 00467 return "srs_symbolic_grounding/ScanBasePose"; 00468 } 00469 00470 static const char* value(const srs_symbolic_grounding::ScanBasePoseResponse_<ContainerAllocator> &) { return value(); } 00471 }; 00472 00473 } // namespace service_traits 00474 } // namespace ros 00475 00476 #endif // SRS_SYMBOLIC_GROUNDING_SERVICE_SCANBASEPOSE_H 00477