Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::cob_sound::SayTextRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::cob_sound::SayTextRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::cob_sound::SayTextRequest_<std::allocator<void> > SayTextRequest;
00047
00048 typedef boost::shared_ptr< ::cob_sound::SayTextRequest> SayTextRequestPtr;
00049 typedef boost::shared_ptr< ::cob_sound::SayTextRequest const> SayTextRequestConstPtr;
00050
00051
00052
00053 template <class ContainerAllocator>
00054 struct SayTextResponse_ {
00055 typedef SayTextResponse_<ContainerAllocator> Type;
00056
00057 SayTextResponse_()
00058 {
00059 }
00060
00061 SayTextResponse_(const ContainerAllocator& _alloc)
00062 {
00063 }
00064
00065
00066 typedef boost::shared_ptr< ::cob_sound::SayTextResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::cob_sound::SayTextResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::cob_sound::SayTextResponse_<std::allocator<void> > SayTextResponse;
00071
00072 typedef boost::shared_ptr< ::cob_sound::SayTextResponse> SayTextResponsePtr;
00073 typedef boost::shared_ptr< ::cob_sound::SayTextResponse const> SayTextResponseConstPtr;
00074
00075
00076 struct SayText
00077 {
00078
00079 typedef SayTextRequest Request;
00080 typedef SayTextResponse Response;
00081 Request request;
00082 Response response;
00083
00084 typedef Request RequestType;
00085 typedef Response ResponseType;
00086 };
00087 }
00088
00089 namespace ros
00090 {
00091 namespace message_traits
00092 {
00093 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextRequest_<ContainerAllocator> > : public TrueType {};
00094 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextRequest_<ContainerAllocator> const> : public TrueType {};
00095 template<class ContainerAllocator>
00096 struct MD5Sum< ::cob_sound::SayTextRequest_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "74697ed3d931f6eede8bf3a8dfeca160";
00100 }
00101
00102 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); }
00103 static const uint64_t static_value1 = 0x74697ed3d931f6eeULL;
00104 static const uint64_t static_value2 = 0xde8bf3a8dfeca160ULL;
00105 };
00106
00107 template<class ContainerAllocator>
00108 struct DataType< ::cob_sound::SayTextRequest_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "cob_sound/SayTextRequest";
00112 }
00113
00114 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); }
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct Definition< ::cob_sound::SayTextRequest_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "string text\n\
00122 \n\
00123 \n\
00124 ";
00125 }
00126
00127 static const char* value(const ::cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 }
00131 }
00132
00133
00134 namespace ros
00135 {
00136 namespace message_traits
00137 {
00138 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextResponse_<ContainerAllocator> > : public TrueType {};
00139 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayTextResponse_<ContainerAllocator> const> : public TrueType {};
00140 template<class ContainerAllocator>
00141 struct MD5Sum< ::cob_sound::SayTextResponse_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "d41d8cd98f00b204e9800998ecf8427e";
00145 }
00146
00147 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); }
00148 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00149 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00150 };
00151
00152 template<class ContainerAllocator>
00153 struct DataType< ::cob_sound::SayTextResponse_<ContainerAllocator> > {
00154 static const char* value()
00155 {
00156 return "cob_sound/SayTextResponse";
00157 }
00158
00159 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); }
00160 };
00161
00162 template<class ContainerAllocator>
00163 struct Definition< ::cob_sound::SayTextResponse_<ContainerAllocator> > {
00164 static const char* value()
00165 {
00166 return "\n\
00167 ";
00168 }
00169
00170 static const char* value(const ::cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 template<class ContainerAllocator> struct IsFixedSize< ::cob_sound::SayTextResponse_<ContainerAllocator> > : public TrueType {};
00174 }
00175 }
00176
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181
00182 template<class ContainerAllocator> struct Serializer< ::cob_sound::SayTextRequest_<ContainerAllocator> >
00183 {
00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185 {
00186 stream.next(m.text);
00187 }
00188
00189 ROS_DECLARE_ALLINONE_SERIALIZER;
00190 };
00191 }
00192 }
00193
00194
00195 namespace ros
00196 {
00197 namespace serialization
00198 {
00199
00200 template<class ContainerAllocator> struct Serializer< ::cob_sound::SayTextResponse_<ContainerAllocator> >
00201 {
00202 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00203 {
00204 }
00205
00206 ROS_DECLARE_ALLINONE_SERIALIZER;
00207 };
00208 }
00209 }
00210
00211 namespace ros
00212 {
00213 namespace service_traits
00214 {
00215 template<>
00216 struct MD5Sum<cob_sound::SayText> {
00217 static const char* value()
00218 {
00219 return "74697ed3d931f6eede8bf3a8dfeca160";
00220 }
00221
00222 static const char* value(const cob_sound::SayText&) { return value(); }
00223 };
00224
00225 template<>
00226 struct DataType<cob_sound::SayText> {
00227 static const char* value()
00228 {
00229 return "cob_sound/SayText";
00230 }
00231
00232 static const char* value(const cob_sound::SayText&) { return value(); }
00233 };
00234
00235 template<class ContainerAllocator>
00236 struct MD5Sum<cob_sound::SayTextRequest_<ContainerAllocator> > {
00237 static const char* value()
00238 {
00239 return "74697ed3d931f6eede8bf3a8dfeca160";
00240 }
00241
00242 static const char* value(const cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); }
00243 };
00244
00245 template<class ContainerAllocator>
00246 struct DataType<cob_sound::SayTextRequest_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "cob_sound/SayText";
00250 }
00251
00252 static const char* value(const cob_sound::SayTextRequest_<ContainerAllocator> &) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct MD5Sum<cob_sound::SayTextResponse_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "74697ed3d931f6eede8bf3a8dfeca160";
00260 }
00261
00262 static const char* value(const cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType<cob_sound::SayTextResponse_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "cob_sound/SayText";
00270 }
00271
00272 static const char* value(const cob_sound::SayTextResponse_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 }
00276 }
00277
00278 #endif // COB_SOUND_SERVICE_SAYTEXT_H
00279