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