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