$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_robot/nao_msgs/srv/CmdPoseService.srv */ 00002 #ifndef NAO_MSGS_SERVICE_CMDPOSESERVICE_H 00003 #define NAO_MSGS_SERVICE_CMDPOSESERVICE_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/Pose2D.h" 00020 00021 00022 00023 namespace nao_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct CmdPoseServiceRequest_ { 00027 typedef CmdPoseServiceRequest_<ContainerAllocator> Type; 00028 00029 CmdPoseServiceRequest_() 00030 : pose() 00031 { 00032 } 00033 00034 CmdPoseServiceRequest_(const ContainerAllocator& _alloc) 00035 : pose(_alloc) 00036 { 00037 } 00038 00039 typedef ::geometry_msgs::Pose2D_<ContainerAllocator> _pose_type; 00040 ::geometry_msgs::Pose2D_<ContainerAllocator> pose; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "nao_msgs/CmdPoseServiceRequest"; } 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 "271cb12677c4cd9bccbc642cd9258d1f"; } 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 "271cb12677c4cd9bccbc642cd9258d1f"; } 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/Pose2D pose\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: geometry_msgs/Pose2D\n\ 00070 # This expresses a position and orientation on a 2D manifold.\n\ 00071 \n\ 00072 float64 x\n\ 00073 float64 y\n\ 00074 float64 theta\n\ 00075 "; } 00076 public: 00077 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00078 00079 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00080 00081 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00082 { 00083 ros::serialization::OStream stream(write_ptr, 1000000000); 00084 ros::serialization::serialize(stream, pose); 00085 return stream.getData(); 00086 } 00087 00088 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00089 { 00090 ros::serialization::IStream stream(read_ptr, 1000000000); 00091 ros::serialization::deserialize(stream, pose); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint32_t serializationLength() const 00096 { 00097 uint32_t size = 0; 00098 size += ros::serialization::serializationLength(pose); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct CmdPoseServiceRequest 00106 typedef ::nao_msgs::CmdPoseServiceRequest_<std::allocator<void> > CmdPoseServiceRequest; 00107 00108 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceRequest> CmdPoseServiceRequestPtr; 00109 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceRequest const> CmdPoseServiceRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct CmdPoseServiceResponse_ { 00114 typedef CmdPoseServiceResponse_<ContainerAllocator> Type; 00115 00116 CmdPoseServiceResponse_() 00117 { 00118 } 00119 00120 CmdPoseServiceResponse_(const ContainerAllocator& _alloc) 00121 { 00122 } 00123 00124 00125 private: 00126 static const char* __s_getDataType_() { return "nao_msgs/CmdPoseServiceResponse"; } 00127 public: 00128 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00129 00130 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00131 00132 private: 00133 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00134 public: 00135 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00136 00137 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00138 00139 private: 00140 static const char* __s_getServerMD5Sum_() { return "271cb12677c4cd9bccbc642cd9258d1f"; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00143 00144 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00145 00146 private: 00147 static const char* __s_getMessageDefinition_() { return "\n\ 00148 \n\ 00149 "; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00152 00153 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00154 00155 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00156 { 00157 ros::serialization::OStream stream(write_ptr, 1000000000); 00158 return stream.getData(); 00159 } 00160 00161 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00162 { 00163 ros::serialization::IStream stream(read_ptr, 1000000000); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint32_t serializationLength() const 00168 { 00169 uint32_t size = 0; 00170 return size; 00171 } 00172 00173 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > Ptr; 00174 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> const> ConstPtr; 00175 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00176 }; // struct CmdPoseServiceResponse 00177 typedef ::nao_msgs::CmdPoseServiceResponse_<std::allocator<void> > CmdPoseServiceResponse; 00178 00179 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceResponse> CmdPoseServiceResponsePtr; 00180 typedef boost::shared_ptr< ::nao_msgs::CmdPoseServiceResponse const> CmdPoseServiceResponseConstPtr; 00181 00182 struct CmdPoseService 00183 { 00184 00185 typedef CmdPoseServiceRequest Request; 00186 typedef CmdPoseServiceResponse Response; 00187 Request request; 00188 Response response; 00189 00190 typedef Request RequestType; 00191 typedef Response ResponseType; 00192 }; // struct CmdPoseService 00193 } // namespace nao_msgs 00194 00195 namespace ros 00196 { 00197 namespace message_traits 00198 { 00199 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > : public TrueType {}; 00200 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> const> : public TrueType {}; 00201 template<class ContainerAllocator> 00202 struct MD5Sum< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > { 00203 static const char* value() 00204 { 00205 return "271cb12677c4cd9bccbc642cd9258d1f"; 00206 } 00207 00208 static const char* value(const ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> &) { return value(); } 00209 static const uint64_t static_value1 = 0x271cb12677c4cd9bULL; 00210 static const uint64_t static_value2 = 0xccbc642cd9258d1fULL; 00211 }; 00212 00213 template<class ContainerAllocator> 00214 struct DataType< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > { 00215 static const char* value() 00216 { 00217 return "nao_msgs/CmdPoseServiceRequest"; 00218 } 00219 00220 static const char* value(const ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> &) { return value(); } 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct Definition< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "\n\ 00228 geometry_msgs/Pose2D pose\n\ 00229 \n\ 00230 ================================================================================\n\ 00231 MSG: geometry_msgs/Pose2D\n\ 00232 # This expresses a position and orientation on a 2D manifold.\n\ 00233 \n\ 00234 float64 x\n\ 00235 float64 y\n\ 00236 float64 theta\n\ 00237 "; 00238 } 00239 00240 static const char* value(const ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> &) { return value(); } 00241 }; 00242 00243 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > : public TrueType {}; 00244 } // namespace message_traits 00245 } // namespace ros 00246 00247 00248 namespace ros 00249 { 00250 namespace message_traits 00251 { 00252 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > : public TrueType {}; 00253 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> const> : public TrueType {}; 00254 template<class ContainerAllocator> 00255 struct MD5Sum< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "d41d8cd98f00b204e9800998ecf8427e"; 00259 } 00260 00261 static const char* value(const ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> &) { return value(); } 00262 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00263 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct DataType< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "nao_msgs/CmdPoseServiceResponse"; 00271 } 00272 00273 static const char* value(const ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct Definition< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "\n\ 00281 \n\ 00282 "; 00283 } 00284 00285 static const char* value(const ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > : public TrueType {}; 00289 } // namespace message_traits 00290 } // namespace ros 00291 00292 namespace ros 00293 { 00294 namespace serialization 00295 { 00296 00297 template<class ContainerAllocator> struct Serializer< ::nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > 00298 { 00299 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00300 { 00301 stream.next(m.pose); 00302 } 00303 00304 ROS_DECLARE_ALLINONE_SERIALIZER; 00305 }; // struct CmdPoseServiceRequest_ 00306 } // namespace serialization 00307 } // namespace ros 00308 00309 00310 namespace ros 00311 { 00312 namespace serialization 00313 { 00314 00315 template<class ContainerAllocator> struct Serializer< ::nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > 00316 { 00317 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00318 { 00319 } 00320 00321 ROS_DECLARE_ALLINONE_SERIALIZER; 00322 }; // struct CmdPoseServiceResponse_ 00323 } // namespace serialization 00324 } // namespace ros 00325 00326 namespace ros 00327 { 00328 namespace service_traits 00329 { 00330 template<> 00331 struct MD5Sum<nao_msgs::CmdPoseService> { 00332 static const char* value() 00333 { 00334 return "271cb12677c4cd9bccbc642cd9258d1f"; 00335 } 00336 00337 static const char* value(const nao_msgs::CmdPoseService&) { return value(); } 00338 }; 00339 00340 template<> 00341 struct DataType<nao_msgs::CmdPoseService> { 00342 static const char* value() 00343 { 00344 return "nao_msgs/CmdPoseService"; 00345 } 00346 00347 static const char* value(const nao_msgs::CmdPoseService&) { return value(); } 00348 }; 00349 00350 template<class ContainerAllocator> 00351 struct MD5Sum<nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > { 00352 static const char* value() 00353 { 00354 return "271cb12677c4cd9bccbc642cd9258d1f"; 00355 } 00356 00357 static const char* value(const nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> &) { return value(); } 00358 }; 00359 00360 template<class ContainerAllocator> 00361 struct DataType<nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> > { 00362 static const char* value() 00363 { 00364 return "nao_msgs/CmdPoseService"; 00365 } 00366 00367 static const char* value(const nao_msgs::CmdPoseServiceRequest_<ContainerAllocator> &) { return value(); } 00368 }; 00369 00370 template<class ContainerAllocator> 00371 struct MD5Sum<nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > { 00372 static const char* value() 00373 { 00374 return "271cb12677c4cd9bccbc642cd9258d1f"; 00375 } 00376 00377 static const char* value(const nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> &) { return value(); } 00378 }; 00379 00380 template<class ContainerAllocator> 00381 struct DataType<nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> > { 00382 static const char* value() 00383 { 00384 return "nao_msgs/CmdPoseService"; 00385 } 00386 00387 static const char* value(const nao_msgs::CmdPoseServiceResponse_<ContainerAllocator> &) { return value(); } 00388 }; 00389 00390 } // namespace service_traits 00391 } // namespace ros 00392 00393 #endif // NAO_MSGS_SERVICE_CMDPOSESERVICE_H 00394