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