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