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