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