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