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