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