$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_driver/doc_stacks/2013-03-01_14-39-27.991733/cob_driver/cob_sound/srv/SayText.srv */ 00002 #ifndef COB_SOUND_SERVICE_SAYTEXT_H 00003 #define COB_SOUND_SERVICE_SAYTEXT_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 00020 00021 00022 namespace cob_sound 00023 { 00024 template <class ContainerAllocator> 00025 struct SayTextRequest_ { 00026 typedef SayTextRequest_<ContainerAllocator> Type; 00027 00028 SayTextRequest_() 00029 : text() 00030 { 00031 } 00032 00033 SayTextRequest_(const ContainerAllocator& _alloc) 00034 : text(_alloc) 00035 { 00036 } 00037 00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _text_type; 00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > text; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "cob_sound/SayTextRequest"; } 00044 public: 00045 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00046 00047 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00048 00049 private: 00050 static const char* __s_getMD5Sum_() { return "74697ed3d931f6eede8bf3a8dfeca160"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00053 00054 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00055 00056 private: 00057 static const char* __s_getServerMD5Sum_() { return "74697ed3d931f6eede8bf3a8dfeca160"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "string text\n\ 00065 \n\ 00066 \n\ 00067 "; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00074 { 00075 ros::serialization::OStream stream(write_ptr, 1000000000); 00076 ros::serialization::serialize(stream, text); 00077 return stream.getData(); 00078 } 00079 00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00081 { 00082 ros::serialization::IStream stream(read_ptr, 1000000000); 00083 ros::serialization::deserialize(stream, text); 00084 return stream.getData(); 00085 } 00086 00087 ROS_DEPRECATED virtual uint32_t serializationLength() const 00088 { 00089 uint32_t size = 0; 00090 size += ros::serialization::serializationLength(text); 00091 return size; 00092 } 00093 00094 typedef boost::shared_ptr< ::cob_sound::SayTextRequest_<ContainerAllocator> > Ptr; 00095 typedef boost::shared_ptr< ::cob_sound::SayTextRequest_<ContainerAllocator> const> ConstPtr; 00096 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00097 }; // struct SayTextRequest 00098 typedef ::cob_sound::SayTextRequest_<std::allocator<void> > SayTextRequest; 00099 00100 typedef boost::shared_ptr< ::cob_sound::SayTextRequest> SayTextRequestPtr; 00101 typedef boost::shared_ptr< ::cob_sound::SayTextRequest const> SayTextRequestConstPtr; 00102 00103 00104 template <class ContainerAllocator> 00105 struct SayTextResponse_ { 00106 typedef SayTextResponse_<ContainerAllocator> Type; 00107 00108 SayTextResponse_() 00109 { 00110 } 00111 00112 SayTextResponse_(const ContainerAllocator& _alloc) 00113 { 00114 } 00115 00116 00117 private: 00118 static const char* __s_getDataType_() { return "cob_sound/SayTextResponse"; } 00119 public: 00120 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00121 00122 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00123 00124 private: 00125 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00126 public: 00127 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00128 00129 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00130 00131 private: 00132 static const char* __s_getServerMD5Sum_() { return "74697ed3d931f6eede8bf3a8dfeca160"; } 00133 public: 00134 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00135 00136 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00137 00138 private: 00139 static const char* __s_getMessageDefinition_() { return "\n\ 00140 "; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00143 00144 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00145 00146 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00147 { 00148 ros::serialization::OStream stream(write_ptr, 1000000000); 00149 return stream.getData(); 00150 } 00151 00152 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00153 { 00154 ros::serialization::IStream stream(read_ptr, 1000000000); 00155 return stream.getData(); 00156 } 00157 00158 ROS_DEPRECATED virtual uint32_t serializationLength() const 00159 { 00160 uint32_t size = 0; 00161 return size; 00162 } 00163 00164 typedef boost::shared_ptr< ::cob_sound::SayTextResponse_<ContainerAllocator> > Ptr; 00165 typedef boost::shared_ptr< ::cob_sound::SayTextResponse_<ContainerAllocator> const> ConstPtr; 00166 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00167 }; // struct SayTextResponse 00168 typedef ::cob_sound::SayTextResponse_<std::allocator<void> > SayTextResponse; 00169 00170 typedef boost::shared_ptr< ::cob_sound::SayTextResponse> SayTextResponsePtr; 00171 typedef boost::shared_ptr< ::cob_sound::SayTextResponse const> SayTextResponseConstPtr; 00172 00173 struct SayText 00174 { 00175 00176 typedef SayTextRequest Request; 00177 typedef SayTextResponse Response; 00178 Request request; 00179 Response response; 00180 00181 typedef Request RequestType; 00182 typedef Response ResponseType; 00183 }; // struct SayText 00184 } // namespace cob_sound 00185 00186 namespace ros 00187 { 00188 namespace message_traits 00189 { 00190 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextRequest_<ContainerAllocator> > : public TrueType {}; 00191 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextRequest_<ContainerAllocator> const> : public TrueType {}; 00192 template<class ContainerAllocator> 00193 struct MD5Sum< ::cob_sound::SayTextRequest_<ContainerAllocator> > { 00194 static const char* value() 00195 { 00196 return "74697ed3d931f6eede8bf3a8dfeca160"; 00197 } 00198 00199 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); } 00200 static const uint64_t static_value1 = 0x74697ed3d931f6eeULL; 00201 static const uint64_t static_value2 = 0xde8bf3a8dfeca160ULL; 00202 }; 00203 00204 template<class ContainerAllocator> 00205 struct DataType< ::cob_sound::SayTextRequest_<ContainerAllocator> > { 00206 static const char* value() 00207 { 00208 return "cob_sound/SayTextRequest"; 00209 } 00210 00211 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); } 00212 }; 00213 00214 template<class ContainerAllocator> 00215 struct Definition< ::cob_sound::SayTextRequest_<ContainerAllocator> > { 00216 static const char* value() 00217 { 00218 return "string text\n\ 00219 \n\ 00220 \n\ 00221 "; 00222 } 00223 00224 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); } 00225 }; 00226 00227 } // namespace message_traits 00228 } // namespace ros 00229 00230 00231 namespace ros 00232 { 00233 namespace message_traits 00234 { 00235 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextResponse_<ContainerAllocator> > : public TrueType {}; 00236 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextResponse_<ContainerAllocator> const> : public TrueType {}; 00237 template<class ContainerAllocator> 00238 struct MD5Sum< ::cob_sound::SayTextResponse_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "d41d8cd98f00b204e9800998ecf8427e"; 00242 } 00243 00244 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); } 00245 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00246 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00247 }; 00248 00249 template<class ContainerAllocator> 00250 struct DataType< ::cob_sound::SayTextResponse_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "cob_sound/SayTextResponse"; 00254 } 00255 00256 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); } 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct Definition< ::cob_sound::SayTextResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "\n\ 00264 "; 00265 } 00266 00267 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); } 00268 }; 00269 00270 template<class ContainerAllocator> struct IsFixedSize< ::cob_sound::SayTextResponse_<ContainerAllocator> > : public TrueType {}; 00271 } // namespace message_traits 00272 } // namespace ros 00273 00274 namespace ros 00275 { 00276 namespace serialization 00277 { 00278 00279 template<class ContainerAllocator> struct Serializer< ::cob_sound::SayTextRequest_<ContainerAllocator> > 00280 { 00281 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00282 { 00283 stream.next(m.text); 00284 } 00285 00286 ROS_DECLARE_ALLINONE_SERIALIZER; 00287 }; // struct SayTextRequest_ 00288 } // namespace serialization 00289 } // namespace ros 00290 00291 00292 namespace ros 00293 { 00294 namespace serialization 00295 { 00296 00297 template<class ContainerAllocator> struct Serializer< ::cob_sound::SayTextResponse_<ContainerAllocator> > 00298 { 00299 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00300 { 00301 } 00302 00303 ROS_DECLARE_ALLINONE_SERIALIZER; 00304 }; // struct SayTextResponse_ 00305 } // namespace serialization 00306 } // namespace ros 00307 00308 namespace ros 00309 { 00310 namespace service_traits 00311 { 00312 template<> 00313 struct MD5Sum<cob_sound::SayText> { 00314 static const char* value() 00315 { 00316 return "74697ed3d931f6eede8bf3a8dfeca160"; 00317 } 00318 00319 static const char* value(const cob_sound::SayText&) { return value(); } 00320 }; 00321 00322 template<> 00323 struct DataType<cob_sound::SayText> { 00324 static const char* value() 00325 { 00326 return "cob_sound/SayText"; 00327 } 00328 00329 static const char* value(const cob_sound::SayText&) { return value(); } 00330 }; 00331 00332 template<class ContainerAllocator> 00333 struct MD5Sum<cob_sound::SayTextRequest_<ContainerAllocator> > { 00334 static const char* value() 00335 { 00336 return "74697ed3d931f6eede8bf3a8dfeca160"; 00337 } 00338 00339 static const char* value(const cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); } 00340 }; 00341 00342 template<class ContainerAllocator> 00343 struct DataType<cob_sound::SayTextRequest_<ContainerAllocator> > { 00344 static const char* value() 00345 { 00346 return "cob_sound/SayText"; 00347 } 00348 00349 static const char* value(const cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); } 00350 }; 00351 00352 template<class ContainerAllocator> 00353 struct MD5Sum<cob_sound::SayTextResponse_<ContainerAllocator> > { 00354 static const char* value() 00355 { 00356 return "74697ed3d931f6eede8bf3a8dfeca160"; 00357 } 00358 00359 static const char* value(const cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); } 00360 }; 00361 00362 template<class ContainerAllocator> 00363 struct DataType<cob_sound::SayTextResponse_<ContainerAllocator> > { 00364 static const char* value() 00365 { 00366 return "cob_sound/SayText"; 00367 } 00368 00369 static const char* value(const cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); } 00370 }; 00371 00372 } // namespace service_traits 00373 } // namespace ros 00374 00375 #endif // COB_SOUND_SERVICE_SAYTEXT_H 00376