$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/ArmNavMovePalmLinkRel.srv */ 00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVMOVEPALMLINKREL_H 00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVMOVEPALMLINKREL_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/Pose.h" 00020 00021 00022 00023 namespace srs_assisted_arm_navigation_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct ArmNavMovePalmLinkRelRequest_ { 00027 typedef ArmNavMovePalmLinkRelRequest_<ContainerAllocator> Type; 00028 00029 ArmNavMovePalmLinkRelRequest_() 00030 : relative_movement() 00031 { 00032 } 00033 00034 ArmNavMovePalmLinkRelRequest_(const ContainerAllocator& _alloc) 00035 : relative_movement(_alloc) 00036 { 00037 } 00038 00039 typedef ::geometry_msgs::Pose_<ContainerAllocator> _relative_movement_type; 00040 ::geometry_msgs::Pose_<ContainerAllocator> relative_movement; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRelRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "8748b3b787ed772f72ebf392fe564ece"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "42e1f7fe26283c48c822d04ed149dd7e"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 \n\ 00067 geometry_msgs/Pose relative_movement\n\ 00068 \n\ 00069 ================================================================================\n\ 00070 MSG: geometry_msgs/Pose\n\ 00071 # A representation of pose in free space, composed of postion and orientation. \n\ 00072 Point position\n\ 00073 Quaternion orientation\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: geometry_msgs/Point\n\ 00077 # This contains the position of a point in free space\n\ 00078 float64 x\n\ 00079 float64 y\n\ 00080 float64 z\n\ 00081 \n\ 00082 ================================================================================\n\ 00083 MSG: geometry_msgs/Quaternion\n\ 00084 # This represents an orientation in free space in quaternion form.\n\ 00085 \n\ 00086 float64 x\n\ 00087 float64 y\n\ 00088 float64 z\n\ 00089 float64 w\n\ 00090 \n\ 00091 "; } 00092 public: 00093 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00094 00095 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00096 00097 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00098 { 00099 ros::serialization::OStream stream(write_ptr, 1000000000); 00100 ros::serialization::serialize(stream, relative_movement); 00101 return stream.getData(); 00102 } 00103 00104 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00105 { 00106 ros::serialization::IStream stream(read_ptr, 1000000000); 00107 ros::serialization::deserialize(stream, relative_movement); 00108 return stream.getData(); 00109 } 00110 00111 ROS_DEPRECATED virtual uint32_t serializationLength() const 00112 { 00113 uint32_t size = 0; 00114 size += ros::serialization::serializationLength(relative_movement); 00115 return size; 00116 } 00117 00118 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > Ptr; 00119 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> const> ConstPtr; 00120 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00121 }; // struct ArmNavMovePalmLinkRelRequest 00122 typedef ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<std::allocator<void> > ArmNavMovePalmLinkRelRequest; 00123 00124 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest> ArmNavMovePalmLinkRelRequestPtr; 00125 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest const> ArmNavMovePalmLinkRelRequestConstPtr; 00126 00127 00128 template <class ContainerAllocator> 00129 struct ArmNavMovePalmLinkRelResponse_ { 00130 typedef ArmNavMovePalmLinkRelResponse_<ContainerAllocator> Type; 00131 00132 ArmNavMovePalmLinkRelResponse_() 00133 : completed(false) 00134 , msg() 00135 { 00136 } 00137 00138 ArmNavMovePalmLinkRelResponse_(const ContainerAllocator& _alloc) 00139 : completed(false) 00140 , msg(_alloc) 00141 { 00142 } 00143 00144 typedef uint8_t _completed_type; 00145 uint8_t completed; 00146 00147 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type; 00148 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg; 00149 00150 00151 private: 00152 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRelResponse"; } 00153 public: 00154 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00155 00156 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00157 00158 private: 00159 static const char* __s_getMD5Sum_() { return "7de7f4695a268566c2ce9ae9e3a34e73"; } 00160 public: 00161 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00162 00163 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00164 00165 private: 00166 static const char* __s_getServerMD5Sum_() { return "42e1f7fe26283c48c822d04ed149dd7e"; } 00167 public: 00168 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00169 00170 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00171 00172 private: 00173 static const char* __s_getMessageDefinition_() { return "bool completed\n\ 00174 string msg\n\ 00175 \n\ 00176 "; } 00177 public: 00178 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00179 00180 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00181 00182 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00183 { 00184 ros::serialization::OStream stream(write_ptr, 1000000000); 00185 ros::serialization::serialize(stream, completed); 00186 ros::serialization::serialize(stream, msg); 00187 return stream.getData(); 00188 } 00189 00190 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00191 { 00192 ros::serialization::IStream stream(read_ptr, 1000000000); 00193 ros::serialization::deserialize(stream, completed); 00194 ros::serialization::deserialize(stream, msg); 00195 return stream.getData(); 00196 } 00197 00198 ROS_DEPRECATED virtual uint32_t serializationLength() const 00199 { 00200 uint32_t size = 0; 00201 size += ros::serialization::serializationLength(completed); 00202 size += ros::serialization::serializationLength(msg); 00203 return size; 00204 } 00205 00206 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > Ptr; 00207 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> const> ConstPtr; 00208 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00209 }; // struct ArmNavMovePalmLinkRelResponse 00210 typedef ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<std::allocator<void> > ArmNavMovePalmLinkRelResponse; 00211 00212 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse> ArmNavMovePalmLinkRelResponsePtr; 00213 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse const> ArmNavMovePalmLinkRelResponseConstPtr; 00214 00215 struct ArmNavMovePalmLinkRel 00216 { 00217 00218 typedef ArmNavMovePalmLinkRelRequest Request; 00219 typedef ArmNavMovePalmLinkRelResponse Response; 00220 Request request; 00221 Response response; 00222 00223 typedef Request RequestType; 00224 typedef Response ResponseType; 00225 }; // struct ArmNavMovePalmLinkRel 00226 } // namespace srs_assisted_arm_navigation_msgs 00227 00228 namespace ros 00229 { 00230 namespace message_traits 00231 { 00232 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > : public TrueType {}; 00233 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> const> : public TrueType {}; 00234 template<class ContainerAllocator> 00235 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > { 00236 static const char* value() 00237 { 00238 return "8748b3b787ed772f72ebf392fe564ece"; 00239 } 00240 00241 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> &) { return value(); } 00242 static const uint64_t static_value1 = 0x8748b3b787ed772fULL; 00243 static const uint64_t static_value2 = 0x72ebf392fe564eceULL; 00244 }; 00245 00246 template<class ContainerAllocator> 00247 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > { 00248 static const char* value() 00249 { 00250 return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRelRequest"; 00251 } 00252 00253 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> &) { return value(); } 00254 }; 00255 00256 template<class ContainerAllocator> 00257 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "\n\ 00261 \n\ 00262 geometry_msgs/Pose relative_movement\n\ 00263 \n\ 00264 ================================================================================\n\ 00265 MSG: geometry_msgs/Pose\n\ 00266 # A representation of pose in free space, composed of postion and orientation. \n\ 00267 Point position\n\ 00268 Quaternion orientation\n\ 00269 \n\ 00270 ================================================================================\n\ 00271 MSG: geometry_msgs/Point\n\ 00272 # This contains the position of a point in free space\n\ 00273 float64 x\n\ 00274 float64 y\n\ 00275 float64 z\n\ 00276 \n\ 00277 ================================================================================\n\ 00278 MSG: geometry_msgs/Quaternion\n\ 00279 # This represents an orientation in free space in quaternion form.\n\ 00280 \n\ 00281 float64 x\n\ 00282 float64 y\n\ 00283 float64 z\n\ 00284 float64 w\n\ 00285 \n\ 00286 "; 00287 } 00288 00289 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> &) { return value(); } 00290 }; 00291 00292 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > : public TrueType {}; 00293 } // namespace message_traits 00294 } // namespace ros 00295 00296 00297 namespace ros 00298 { 00299 namespace message_traits 00300 { 00301 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > : public TrueType {}; 00302 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> const> : public TrueType {}; 00303 template<class ContainerAllocator> 00304 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > { 00305 static const char* value() 00306 { 00307 return "7de7f4695a268566c2ce9ae9e3a34e73"; 00308 } 00309 00310 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> &) { return value(); } 00311 static const uint64_t static_value1 = 0x7de7f4695a268566ULL; 00312 static const uint64_t static_value2 = 0xc2ce9ae9e3a34e73ULL; 00313 }; 00314 00315 template<class ContainerAllocator> 00316 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > { 00317 static const char* value() 00318 { 00319 return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRelResponse"; 00320 } 00321 00322 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> &) { return value(); } 00323 }; 00324 00325 template<class ContainerAllocator> 00326 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > { 00327 static const char* value() 00328 { 00329 return "bool completed\n\ 00330 string msg\n\ 00331 \n\ 00332 "; 00333 } 00334 00335 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> &) { return value(); } 00336 }; 00337 00338 } // namespace message_traits 00339 } // namespace ros 00340 00341 namespace ros 00342 { 00343 namespace serialization 00344 { 00345 00346 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > 00347 { 00348 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00349 { 00350 stream.next(m.relative_movement); 00351 } 00352 00353 ROS_DECLARE_ALLINONE_SERIALIZER; 00354 }; // struct ArmNavMovePalmLinkRelRequest_ 00355 } // namespace serialization 00356 } // namespace ros 00357 00358 00359 namespace ros 00360 { 00361 namespace serialization 00362 { 00363 00364 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > 00365 { 00366 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00367 { 00368 stream.next(m.completed); 00369 stream.next(m.msg); 00370 } 00371 00372 ROS_DECLARE_ALLINONE_SERIALIZER; 00373 }; // struct ArmNavMovePalmLinkRelResponse_ 00374 } // namespace serialization 00375 } // namespace ros 00376 00377 namespace ros 00378 { 00379 namespace service_traits 00380 { 00381 template<> 00382 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRel> { 00383 static const char* value() 00384 { 00385 return "42e1f7fe26283c48c822d04ed149dd7e"; 00386 } 00387 00388 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRel&) { return value(); } 00389 }; 00390 00391 template<> 00392 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRel> { 00393 static const char* value() 00394 { 00395 return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRel"; 00396 } 00397 00398 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRel&) { return value(); } 00399 }; 00400 00401 template<class ContainerAllocator> 00402 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > { 00403 static const char* value() 00404 { 00405 return "42e1f7fe26283c48c822d04ed149dd7e"; 00406 } 00407 00408 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> &) { return value(); } 00409 }; 00410 00411 template<class ContainerAllocator> 00412 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> > { 00413 static const char* value() 00414 { 00415 return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRel"; 00416 } 00417 00418 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelRequest_<ContainerAllocator> &) { return value(); } 00419 }; 00420 00421 template<class ContainerAllocator> 00422 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > { 00423 static const char* value() 00424 { 00425 return "42e1f7fe26283c48c822d04ed149dd7e"; 00426 } 00427 00428 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> &) { return value(); } 00429 }; 00430 00431 template<class ContainerAllocator> 00432 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> > { 00433 static const char* value() 00434 { 00435 return "srs_assisted_arm_navigation_msgs/ArmNavMovePalmLinkRel"; 00436 } 00437 00438 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavMovePalmLinkRelResponse_<ContainerAllocator> &) { return value(); } 00439 }; 00440 00441 } // namespace service_traits 00442 } // namespace ros 00443 00444 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVMOVEPALMLINKREL_H 00445