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