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 <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace cob_base_drive_chain
00019 {
00020 template <class ContainerAllocator>
00021 struct ElmoRecorderReadoutRequest_ : public ros::Message
00022 {
00023 typedef ElmoRecorderReadoutRequest_<ContainerAllocator> Type;
00024
00025 ElmoRecorderReadoutRequest_()
00026 : subindex(0)
00027 , fileprefix()
00028 {
00029 }
00030
00031 ElmoRecorderReadoutRequest_(const ContainerAllocator& _alloc)
00032 : subindex(0)
00033 , fileprefix(_alloc)
00034 {
00035 }
00036
00037 typedef int64_t _subindex_type;
00038 int64_t subindex;
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _fileprefix_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > fileprefix;
00042
00043
00044 private:
00045 static const char* __s_getDataType_() { return "cob_base_drive_chain/ElmoRecorderReadoutRequest"; }
00046 public:
00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00048
00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00050
00051 private:
00052 static const char* __s_getMD5Sum_() { return "dd88752641c6995eb674ed67be4e41d1"; }
00053 public:
00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00055
00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00057
00058 private:
00059 static const char* __s_getServerMD5Sum_() { return "58d03a96e0b56a380d625c18335fb081"; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00062
00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00064
00065 private:
00066 static const char* __s_getMessageDefinition_() { return "\n\
00067 \n\
00068 \n\
00069 \n\
00070 \n\
00071 \n\
00072 \n\
00073 \n\
00074 int64 subindex\n\
00075 \n\
00076 \n\
00077 \n\
00078 string fileprefix\n\
00079 \n\
00080 \n\
00081 "; }
00082 public:
00083 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00084
00085 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00086
00087 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00088 {
00089 ros::serialization::OStream stream(write_ptr, 1000000000);
00090 ros::serialization::serialize(stream, subindex);
00091 ros::serialization::serialize(stream, fileprefix);
00092 return stream.getData();
00093 }
00094
00095 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00096 {
00097 ros::serialization::IStream stream(read_ptr, 1000000000);
00098 ros::serialization::deserialize(stream, subindex);
00099 ros::serialization::deserialize(stream, fileprefix);
00100 return stream.getData();
00101 }
00102
00103 ROS_DEPRECATED virtual uint32_t serializationLength() const
00104 {
00105 uint32_t size = 0;
00106 size += ros::serialization::serializationLength(subindex);
00107 size += ros::serialization::serializationLength(fileprefix);
00108 return size;
00109 }
00110
00111 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > Ptr;
00112 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> const> ConstPtr;
00113 };
00114 typedef ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<std::allocator<void> > ElmoRecorderReadoutRequest;
00115
00116 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutRequest> ElmoRecorderReadoutRequestPtr;
00117 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutRequest const> ElmoRecorderReadoutRequestConstPtr;
00118
00119
00120 template <class ContainerAllocator>
00121 struct ElmoRecorderReadoutResponse_ : public ros::Message
00122 {
00123 typedef ElmoRecorderReadoutResponse_<ContainerAllocator> Type;
00124
00125 ElmoRecorderReadoutResponse_()
00126 : success(0)
00127 , message()
00128 {
00129 }
00130
00131 ElmoRecorderReadoutResponse_(const ContainerAllocator& _alloc)
00132 : success(0)
00133 , message(_alloc)
00134 {
00135 }
00136
00137 typedef int64_t _success_type;
00138 int64_t success;
00139
00140 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
00141 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > message;
00142
00143
00144 private:
00145 static const char* __s_getDataType_() { return "cob_base_drive_chain/ElmoRecorderReadoutResponse"; }
00146 public:
00147 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00148
00149 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00150
00151 private:
00152 static const char* __s_getMD5Sum_() { return "a223a80848aece692f82aeb7f4a04f7f"; }
00153 public:
00154 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00155
00156 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00157
00158 private:
00159 static const char* __s_getServerMD5Sum_() { return "58d03a96e0b56a380d625c18335fb081"; }
00160 public:
00161 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00162
00163 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00164
00165 private:
00166 static const char* __s_getMessageDefinition_() { return "\n\
00167 \n\
00168 \n\
00169 \n\
00170 \n\
00171 \n\
00172 int64 success\n\
00173 \n\
00174 string message\n\
00175 \n\
00176 \n\
00177 "; }
00178 public:
00179 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00180
00181 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00182
00183 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00184 {
00185 ros::serialization::OStream stream(write_ptr, 1000000000);
00186 ros::serialization::serialize(stream, success);
00187 ros::serialization::serialize(stream, message);
00188 return stream.getData();
00189 }
00190
00191 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00192 {
00193 ros::serialization::IStream stream(read_ptr, 1000000000);
00194 ros::serialization::deserialize(stream, success);
00195 ros::serialization::deserialize(stream, message);
00196 return stream.getData();
00197 }
00198
00199 ROS_DEPRECATED virtual uint32_t serializationLength() const
00200 {
00201 uint32_t size = 0;
00202 size += ros::serialization::serializationLength(success);
00203 size += ros::serialization::serializationLength(message);
00204 return size;
00205 }
00206
00207 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > Ptr;
00208 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> const> ConstPtr;
00209 };
00210 typedef ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<std::allocator<void> > ElmoRecorderReadoutResponse;
00211
00212 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutResponse> ElmoRecorderReadoutResponsePtr;
00213 typedef boost::shared_ptr< ::cob_base_drive_chain::ElmoRecorderReadoutResponse const> ElmoRecorderReadoutResponseConstPtr;
00214
00215 struct ElmoRecorderReadout
00216 {
00217
00218 typedef ElmoRecorderReadoutRequest Request;
00219 typedef ElmoRecorderReadoutResponse Response;
00220 Request request;
00221 Response response;
00222
00223 typedef Request RequestType;
00224 typedef Response ResponseType;
00225 };
00226 }
00227
00228 namespace ros
00229 {
00230 namespace message_traits
00231 {
00232 template<class ContainerAllocator>
00233 struct MD5Sum< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > {
00234 static const char* value()
00235 {
00236 return "dd88752641c6995eb674ed67be4e41d1";
00237 }
00238
00239 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> &) { return value(); }
00240 static const uint64_t static_value1 = 0xdd88752641c6995eULL;
00241 static const uint64_t static_value2 = 0xb674ed67be4e41d1ULL;
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct DataType< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "cob_base_drive_chain/ElmoRecorderReadoutRequest";
00249 }
00250
00251 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct Definition< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "\n\
00259 \n\
00260 \n\
00261 \n\
00262 \n\
00263 \n\
00264 \n\
00265 \n\
00266 int64 subindex\n\
00267 \n\
00268 \n\
00269 \n\
00270 string fileprefix\n\
00271 \n\
00272 \n\
00273 ";
00274 }
00275
00276 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 }
00280 }
00281
00282
00283 namespace ros
00284 {
00285 namespace message_traits
00286 {
00287 template<class ContainerAllocator>
00288 struct MD5Sum< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "a223a80848aece692f82aeb7f4a04f7f";
00292 }
00293
00294 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> &) { return value(); }
00295 static const uint64_t static_value1 = 0xa223a80848aece69ULL;
00296 static const uint64_t static_value2 = 0x2f82aeb7f4a04f7fULL;
00297 };
00298
00299 template<class ContainerAllocator>
00300 struct DataType< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > {
00301 static const char* value()
00302 {
00303 return "cob_base_drive_chain/ElmoRecorderReadoutResponse";
00304 }
00305
00306 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> &) { return value(); }
00307 };
00308
00309 template<class ContainerAllocator>
00310 struct Definition< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > {
00311 static const char* value()
00312 {
00313 return "\n\
00314 \n\
00315 \n\
00316 \n\
00317 \n\
00318 \n\
00319 int64 success\n\
00320 \n\
00321 string message\n\
00322 \n\
00323 \n\
00324 ";
00325 }
00326
00327 static const char* value(const ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 }
00331 }
00332
00333 namespace ros
00334 {
00335 namespace serialization
00336 {
00337
00338 template<class ContainerAllocator> struct Serializer< ::cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> >
00339 {
00340 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00341 {
00342 stream.next(m.subindex);
00343 stream.next(m.fileprefix);
00344 }
00345
00346 ROS_DECLARE_ALLINONE_SERIALIZER;
00347 };
00348 }
00349 }
00350
00351
00352 namespace ros
00353 {
00354 namespace serialization
00355 {
00356
00357 template<class ContainerAllocator> struct Serializer< ::cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> >
00358 {
00359 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00360 {
00361 stream.next(m.success);
00362 stream.next(m.message);
00363 }
00364
00365 ROS_DECLARE_ALLINONE_SERIALIZER;
00366 };
00367 }
00368 }
00369
00370 namespace ros
00371 {
00372 namespace service_traits
00373 {
00374 template<>
00375 struct MD5Sum<cob_base_drive_chain::ElmoRecorderReadout> {
00376 static const char* value()
00377 {
00378 return "58d03a96e0b56a380d625c18335fb081";
00379 }
00380
00381 static const char* value(const cob_base_drive_chain::ElmoRecorderReadout&) { return value(); }
00382 };
00383
00384 template<>
00385 struct DataType<cob_base_drive_chain::ElmoRecorderReadout> {
00386 static const char* value()
00387 {
00388 return "cob_base_drive_chain/ElmoRecorderReadout";
00389 }
00390
00391 static const char* value(const cob_base_drive_chain::ElmoRecorderReadout&) { return value(); }
00392 };
00393
00394 template<class ContainerAllocator>
00395 struct MD5Sum<cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > {
00396 static const char* value()
00397 {
00398 return "58d03a96e0b56a380d625c18335fb081";
00399 }
00400
00401 static const char* value(const cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> &) { return value(); }
00402 };
00403
00404 template<class ContainerAllocator>
00405 struct DataType<cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> > {
00406 static const char* value()
00407 {
00408 return "cob_base_drive_chain/ElmoRecorderReadout";
00409 }
00410
00411 static const char* value(const cob_base_drive_chain::ElmoRecorderReadoutRequest_<ContainerAllocator> &) { return value(); }
00412 };
00413
00414 template<class ContainerAllocator>
00415 struct MD5Sum<cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > {
00416 static const char* value()
00417 {
00418 return "58d03a96e0b56a380d625c18335fb081";
00419 }
00420
00421 static const char* value(const cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> &) { return value(); }
00422 };
00423
00424 template<class ContainerAllocator>
00425 struct DataType<cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> > {
00426 static const char* value()
00427 {
00428 return "cob_base_drive_chain/ElmoRecorderReadout";
00429 }
00430
00431 static const char* value(const cob_base_drive_chain::ElmoRecorderReadoutResponse_<ContainerAllocator> &) { return value(); }
00432 };
00433
00434 }
00435 }
00436
00437 #endif // COB_BASE_DRIVE_CHAIN_SERVICE_ELMORECORDERREADOUT_H
00438