$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-alufr-humanoid_stacks/doc_stacks/2013-03-05_11-28-06.315559/nao_common/nao_remote/srv/SetTransform.srv */ 00002 #ifndef NAO_REMOTE_SERVICE_SETTRANSFORM_H 00003 #define NAO_REMOTE_SERVICE_SETTRANSFORM_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/Transform.h" 00020 00021 00022 00023 namespace nao_remote 00024 { 00025 template <class ContainerAllocator> 00026 struct SetTransformRequest_ { 00027 typedef SetTransformRequest_<ContainerAllocator> Type; 00028 00029 SetTransformRequest_() 00030 : offset() 00031 { 00032 } 00033 00034 SetTransformRequest_(const ContainerAllocator& _alloc) 00035 : offset(_alloc) 00036 { 00037 } 00038 00039 typedef ::geometry_msgs::Transform_<ContainerAllocator> _offset_type; 00040 ::geometry_msgs::Transform_<ContainerAllocator> offset; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "nao_remote/SetTransformRequest"; } 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 "67035ddf415a9bb64191f0e45b060e35"; } 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 "67035ddf415a9bb64191f0e45b060e35"; } 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 geometry_msgs/Transform offset\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: geometry_msgs/Transform\n\ 00070 # This represents the transform between two coordinate frames in free space.\n\ 00071 \n\ 00072 Vector3 translation\n\ 00073 Quaternion rotation\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: geometry_msgs/Vector3\n\ 00077 # This represents a vector in free space. \n\ 00078 \n\ 00079 float64 x\n\ 00080 float64 y\n\ 00081 float64 z\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, offset); 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, offset); 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(offset); 00115 return size; 00116 } 00117 00118 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest_<ContainerAllocator> > Ptr; 00119 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest_<ContainerAllocator> const> ConstPtr; 00120 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00121 }; // struct SetTransformRequest 00122 typedef ::nao_remote::SetTransformRequest_<std::allocator<void> > SetTransformRequest; 00123 00124 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest> SetTransformRequestPtr; 00125 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest const> SetTransformRequestConstPtr; 00126 00127 00128 template <class ContainerAllocator> 00129 struct SetTransformResponse_ { 00130 typedef SetTransformResponse_<ContainerAllocator> Type; 00131 00132 SetTransformResponse_() 00133 { 00134 } 00135 00136 SetTransformResponse_(const ContainerAllocator& _alloc) 00137 { 00138 } 00139 00140 00141 private: 00142 static const char* __s_getDataType_() { return "nao_remote/SetTransformResponse"; } 00143 public: 00144 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00145 00146 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00147 00148 private: 00149 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00152 00153 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00154 00155 private: 00156 static const char* __s_getServerMD5Sum_() { return "67035ddf415a9bb64191f0e45b060e35"; } 00157 public: 00158 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00159 00160 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00161 00162 private: 00163 static const char* __s_getMessageDefinition_() { return "\n\ 00164 \n\ 00165 "; } 00166 public: 00167 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00168 00169 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00170 00171 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00172 { 00173 ros::serialization::OStream stream(write_ptr, 1000000000); 00174 return stream.getData(); 00175 } 00176 00177 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00178 { 00179 ros::serialization::IStream stream(read_ptr, 1000000000); 00180 return stream.getData(); 00181 } 00182 00183 ROS_DEPRECATED virtual uint32_t serializationLength() const 00184 { 00185 uint32_t size = 0; 00186 return size; 00187 } 00188 00189 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse_<ContainerAllocator> > Ptr; 00190 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse_<ContainerAllocator> const> ConstPtr; 00191 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00192 }; // struct SetTransformResponse 00193 typedef ::nao_remote::SetTransformResponse_<std::allocator<void> > SetTransformResponse; 00194 00195 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse> SetTransformResponsePtr; 00196 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse const> SetTransformResponseConstPtr; 00197 00198 struct SetTransform 00199 { 00200 00201 typedef SetTransformRequest Request; 00202 typedef SetTransformResponse Response; 00203 Request request; 00204 Response response; 00205 00206 typedef Request RequestType; 00207 typedef Response ResponseType; 00208 }; // struct SetTransform 00209 } // namespace nao_remote 00210 00211 namespace ros 00212 { 00213 namespace message_traits 00214 { 00215 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformRequest_<ContainerAllocator> > : public TrueType {}; 00216 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformRequest_<ContainerAllocator> const> : public TrueType {}; 00217 template<class ContainerAllocator> 00218 struct MD5Sum< ::nao_remote::SetTransformRequest_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "67035ddf415a9bb64191f0e45b060e35"; 00222 } 00223 00224 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); } 00225 static const uint64_t static_value1 = 0x67035ddf415a9bb6ULL; 00226 static const uint64_t static_value2 = 0x4191f0e45b060e35ULL; 00227 }; 00228 00229 template<class ContainerAllocator> 00230 struct DataType< ::nao_remote::SetTransformRequest_<ContainerAllocator> > { 00231 static const char* value() 00232 { 00233 return "nao_remote/SetTransformRequest"; 00234 } 00235 00236 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 template<class ContainerAllocator> 00240 struct Definition< ::nao_remote::SetTransformRequest_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "\n\ 00244 geometry_msgs/Transform offset\n\ 00245 \n\ 00246 ================================================================================\n\ 00247 MSG: geometry_msgs/Transform\n\ 00248 # This represents the transform between two coordinate frames in free space.\n\ 00249 \n\ 00250 Vector3 translation\n\ 00251 Quaternion rotation\n\ 00252 \n\ 00253 ================================================================================\n\ 00254 MSG: geometry_msgs/Vector3\n\ 00255 # This represents a vector in free space. \n\ 00256 \n\ 00257 float64 x\n\ 00258 float64 y\n\ 00259 float64 z\n\ 00260 ================================================================================\n\ 00261 MSG: geometry_msgs/Quaternion\n\ 00262 # This represents an orientation in free space in quaternion form.\n\ 00263 \n\ 00264 float64 x\n\ 00265 float64 y\n\ 00266 float64 z\n\ 00267 float64 w\n\ 00268 \n\ 00269 "; 00270 } 00271 00272 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); } 00273 }; 00274 00275 template<class ContainerAllocator> struct IsFixedSize< ::nao_remote::SetTransformRequest_<ContainerAllocator> > : public TrueType {}; 00276 } // namespace message_traits 00277 } // namespace ros 00278 00279 00280 namespace ros 00281 { 00282 namespace message_traits 00283 { 00284 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformResponse_<ContainerAllocator> > : public TrueType {}; 00285 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformResponse_<ContainerAllocator> const> : public TrueType {}; 00286 template<class ContainerAllocator> 00287 struct MD5Sum< ::nao_remote::SetTransformResponse_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "d41d8cd98f00b204e9800998ecf8427e"; 00291 } 00292 00293 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); } 00294 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00295 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00296 }; 00297 00298 template<class ContainerAllocator> 00299 struct DataType< ::nao_remote::SetTransformResponse_<ContainerAllocator> > { 00300 static const char* value() 00301 { 00302 return "nao_remote/SetTransformResponse"; 00303 } 00304 00305 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); } 00306 }; 00307 00308 template<class ContainerAllocator> 00309 struct Definition< ::nao_remote::SetTransformResponse_<ContainerAllocator> > { 00310 static const char* value() 00311 { 00312 return "\n\ 00313 \n\ 00314 "; 00315 } 00316 00317 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); } 00318 }; 00319 00320 template<class ContainerAllocator> struct IsFixedSize< ::nao_remote::SetTransformResponse_<ContainerAllocator> > : public TrueType {}; 00321 } // namespace message_traits 00322 } // namespace ros 00323 00324 namespace ros 00325 { 00326 namespace serialization 00327 { 00328 00329 template<class ContainerAllocator> struct Serializer< ::nao_remote::SetTransformRequest_<ContainerAllocator> > 00330 { 00331 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00332 { 00333 stream.next(m.offset); 00334 } 00335 00336 ROS_DECLARE_ALLINONE_SERIALIZER; 00337 }; // struct SetTransformRequest_ 00338 } // namespace serialization 00339 } // namespace ros 00340 00341 00342 namespace ros 00343 { 00344 namespace serialization 00345 { 00346 00347 template<class ContainerAllocator> struct Serializer< ::nao_remote::SetTransformResponse_<ContainerAllocator> > 00348 { 00349 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00350 { 00351 } 00352 00353 ROS_DECLARE_ALLINONE_SERIALIZER; 00354 }; // struct SetTransformResponse_ 00355 } // namespace serialization 00356 } // namespace ros 00357 00358 namespace ros 00359 { 00360 namespace service_traits 00361 { 00362 template<> 00363 struct MD5Sum<nao_remote::SetTransform> { 00364 static const char* value() 00365 { 00366 return "67035ddf415a9bb64191f0e45b060e35"; 00367 } 00368 00369 static const char* value(const nao_remote::SetTransform&) { return value(); } 00370 }; 00371 00372 template<> 00373 struct DataType<nao_remote::SetTransform> { 00374 static const char* value() 00375 { 00376 return "nao_remote/SetTransform"; 00377 } 00378 00379 static const char* value(const nao_remote::SetTransform&) { return value(); } 00380 }; 00381 00382 template<class ContainerAllocator> 00383 struct MD5Sum<nao_remote::SetTransformRequest_<ContainerAllocator> > { 00384 static const char* value() 00385 { 00386 return "67035ddf415a9bb64191f0e45b060e35"; 00387 } 00388 00389 static const char* value(const nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); } 00390 }; 00391 00392 template<class ContainerAllocator> 00393 struct DataType<nao_remote::SetTransformRequest_<ContainerAllocator> > { 00394 static const char* value() 00395 { 00396 return "nao_remote/SetTransform"; 00397 } 00398 00399 static const char* value(const nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); } 00400 }; 00401 00402 template<class ContainerAllocator> 00403 struct MD5Sum<nao_remote::SetTransformResponse_<ContainerAllocator> > { 00404 static const char* value() 00405 { 00406 return "67035ddf415a9bb64191f0e45b060e35"; 00407 } 00408 00409 static const char* value(const nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); } 00410 }; 00411 00412 template<class ContainerAllocator> 00413 struct DataType<nao_remote::SetTransformResponse_<ContainerAllocator> > { 00414 static const char* value() 00415 { 00416 return "nao_remote/SetTransform"; 00417 } 00418 00419 static const char* value(const nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); } 00420 }; 00421 00422 } // namespace service_traits 00423 } // namespace ros 00424 00425 #endif // NAO_REMOTE_SERVICE_SETTRANSFORM_H 00426