Go to the documentation of this file.00001
00002 #ifndef TELEKYB_SRVS_SERVICE_MKVALUEINPUTOUTPUT_H
00003 #define TELEKYB_SRVS_SERVICE_MKVALUEINPUTOUTPUT_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 "telekyb_msgs/MKValue.h"
00020
00021
00022 #include "telekyb_msgs/MKValue.h"
00023
00024 namespace telekyb_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct MKValueInputOutputRequest_ {
00028 typedef MKValueInputOutputRequest_<ContainerAllocator> Type;
00029
00030 MKValueInputOutputRequest_()
00031 : value()
00032 {
00033 }
00034
00035 MKValueInputOutputRequest_(const ContainerAllocator& _alloc)
00036 : value(_alloc)
00037 {
00038 }
00039
00040 typedef ::telekyb_msgs::MKValue_<ContainerAllocator> _value_type;
00041 ::telekyb_msgs::MKValue_<ContainerAllocator> value;
00042
00043
00044 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::telekyb_srvs::MKValueInputOutputRequest_<std::allocator<void> > MKValueInputOutputRequest;
00049
00050 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputRequest> MKValueInputOutputRequestPtr;
00051 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputRequest const> MKValueInputOutputRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct MKValueInputOutputResponse_ {
00056 typedef MKValueInputOutputResponse_<ContainerAllocator> Type;
00057
00058 MKValueInputOutputResponse_()
00059 : value()
00060 {
00061 }
00062
00063 MKValueInputOutputResponse_(const ContainerAllocator& _alloc)
00064 : value(_alloc)
00065 {
00066 }
00067
00068 typedef ::telekyb_msgs::MKValue_<ContainerAllocator> _value_type;
00069 ::telekyb_msgs::MKValue_<ContainerAllocator> value;
00070
00071
00072 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::telekyb_srvs::MKValueInputOutputResponse_<std::allocator<void> > MKValueInputOutputResponse;
00077
00078 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputResponse> MKValueInputOutputResponsePtr;
00079 typedef boost::shared_ptr< ::telekyb_srvs::MKValueInputOutputResponse const> MKValueInputOutputResponseConstPtr;
00080
00081 struct MKValueInputOutput
00082 {
00083
00084 typedef MKValueInputOutputRequest Request;
00085 typedef MKValueInputOutputResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "e33a1633b9933342278c1173610d67b3";
00105 }
00106
00107 static const char* value(const ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xe33a1633b9933342ULL;
00109 static const uint64_t static_value2 = 0x278c1173610d67b3ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "telekyb_srvs/MKValueInputOutputRequest";
00117 }
00118
00119 static const char* value(const ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "\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 \n\
00142 \n\
00143 \n\
00144 telekyb_msgs/MKValue value\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: telekyb_msgs/MKValue\n\
00148 #\n\
00149 # Copyright 2011 Antonio Franchi and Martin Riedel \n\
00150 #\n\
00151 # This file is part of TeleKyb.\n\
00152 #\n\
00153 # TeleKyb is free software: you can redistribute it and/or modify\n\
00154 # it under the terms of the GNU General Public License as published by\n\
00155 # the Free Software Foundation, either version 3 of the License, or\n\
00156 # (at your option) any later version.\n\
00157 #\n\
00158 # TeleKyb is distributed in the hope that it will be useful,\n\
00159 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00160 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
00161 # GNU General Public License for more details.\n\
00162 #\n\
00163 # You should have received a copy of the GNU General Public License\n\
00164 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00165 \n\
00166 string name\n\
00167 time stamp\n\
00168 int16 id\n\
00169 int16 value\n\
00170 \n\
00171 #\n\
00172 #\n\
00173 ";
00174 }
00175
00176 static const char* value(const ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> &) { return value(); }
00177 };
00178
00179 }
00180 }
00181
00182
00183 namespace ros
00184 {
00185 namespace message_traits
00186 {
00187 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> const> : public TrueType {};
00189 template<class ContainerAllocator>
00190 struct MD5Sum< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > {
00191 static const char* value()
00192 {
00193 return "e33a1633b9933342278c1173610d67b3";
00194 }
00195
00196 static const char* value(const ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> &) { return value(); }
00197 static const uint64_t static_value1 = 0xe33a1633b9933342ULL;
00198 static const uint64_t static_value2 = 0x278c1173610d67b3ULL;
00199 };
00200
00201 template<class ContainerAllocator>
00202 struct DataType< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > {
00203 static const char* value()
00204 {
00205 return "telekyb_srvs/MKValueInputOutputResponse";
00206 }
00207
00208 static const char* value(const ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> &) { return value(); }
00209 };
00210
00211 template<class ContainerAllocator>
00212 struct Definition< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > {
00213 static const char* value()
00214 {
00215 return "telekyb_msgs/MKValue value\n\
00216 \n\
00217 \n\
00218 ================================================================================\n\
00219 MSG: telekyb_msgs/MKValue\n\
00220 #\n\
00221 # Copyright 2011 Antonio Franchi and Martin Riedel \n\
00222 #\n\
00223 # This file is part of TeleKyb.\n\
00224 #\n\
00225 # TeleKyb is free software: you can redistribute it and/or modify\n\
00226 # it under the terms of the GNU General Public License as published by\n\
00227 # the Free Software Foundation, either version 3 of the License, or\n\
00228 # (at your option) any later version.\n\
00229 #\n\
00230 # TeleKyb is distributed in the hope that it will be useful,\n\
00231 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
00233 # GNU General Public License for more details.\n\
00234 #\n\
00235 # You should have received a copy of the GNU General Public License\n\
00236 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00237 \n\
00238 string name\n\
00239 time stamp\n\
00240 int16 id\n\
00241 int16 value\n\
00242 \n\
00243 #\n\
00244 #\n\
00245 ";
00246 }
00247
00248 static const char* value(const ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> &) { return value(); }
00249 };
00250
00251 }
00252 }
00253
00254 namespace ros
00255 {
00256 namespace serialization
00257 {
00258
00259 template<class ContainerAllocator> struct Serializer< ::telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> >
00260 {
00261 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00262 {
00263 stream.next(m.value);
00264 }
00265
00266 ROS_DECLARE_ALLINONE_SERIALIZER;
00267 };
00268 }
00269 }
00270
00271
00272 namespace ros
00273 {
00274 namespace serialization
00275 {
00276
00277 template<class ContainerAllocator> struct Serializer< ::telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> >
00278 {
00279 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00280 {
00281 stream.next(m.value);
00282 }
00283
00284 ROS_DECLARE_ALLINONE_SERIALIZER;
00285 };
00286 }
00287 }
00288
00289 namespace ros
00290 {
00291 namespace service_traits
00292 {
00293 template<>
00294 struct MD5Sum<telekyb_srvs::MKValueInputOutput> {
00295 static const char* value()
00296 {
00297 return "dfd0eecae4dc79ca5e21ac87b83858b6";
00298 }
00299
00300 static const char* value(const telekyb_srvs::MKValueInputOutput&) { return value(); }
00301 };
00302
00303 template<>
00304 struct DataType<telekyb_srvs::MKValueInputOutput> {
00305 static const char* value()
00306 {
00307 return "telekyb_srvs/MKValueInputOutput";
00308 }
00309
00310 static const char* value(const telekyb_srvs::MKValueInputOutput&) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct MD5Sum<telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "dfd0eecae4dc79ca5e21ac87b83858b6";
00318 }
00319
00320 static const char* value(const telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 template<class ContainerAllocator>
00324 struct DataType<telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> > {
00325 static const char* value()
00326 {
00327 return "telekyb_srvs/MKValueInputOutput";
00328 }
00329
00330 static const char* value(const telekyb_srvs::MKValueInputOutputRequest_<ContainerAllocator> &) { return value(); }
00331 };
00332
00333 template<class ContainerAllocator>
00334 struct MD5Sum<telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > {
00335 static const char* value()
00336 {
00337 return "dfd0eecae4dc79ca5e21ac87b83858b6";
00338 }
00339
00340 static const char* value(const telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> &) { return value(); }
00341 };
00342
00343 template<class ContainerAllocator>
00344 struct DataType<telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> > {
00345 static const char* value()
00346 {
00347 return "telekyb_srvs/MKValueInputOutput";
00348 }
00349
00350 static const char* value(const telekyb_srvs::MKValueInputOutputResponse_<ContainerAllocator> &) { return value(); }
00351 };
00352
00353 }
00354 }
00355
00356 #endif // TELEKYB_SRVS_SERVICE_MKVALUEINPUTOUTPUT_H
00357