00001 // mdClientDevice.h - xmlrpc-c C++ proxy class 00002 // Auto-generated by xml-rpc-api2cpp. 00003 00004 #ifndef _mdClientDevice_H_ 00005 #define _mdClientDevice_H_ 1 00006 00007 #include <xmlrpc-c/oldcppwrapper.hpp> 00008 00009 class mdClientDevice { 00010 XmlRpcClient mClient; 00011 00012 public: 00013 mdClientDevice (const XmlRpcClient& client) 00014 : mClient(client) {} 00015 mdClientDevice (const std::string& server_url) 00016 : mClient(XmlRpcClient(server_url)) {} 00017 mdClientDevice (const mdClientDevice& o) 00018 : mClient(o.mClient) {} 00019 00020 mdClientDevice& operator= (const mdClientDevice& o) { 00021 if (this != &o) mClient = o.mClient; 00022 return *this; 00023 } 00024 00025 /* Register a device with the auc-md. The first parameter is the device type which is 0 for the MD_TYPE device and > 0 for all others. The string, which may be empty, specifies a particular model or version. This must be the first call to the MD after connecting. The response if positive is a handle to use in referring to the device otheriwse an error number. Use 'ALX' for an unversioned centrifuge, and the empty string to release any handle previously gotten with this API. In this case the first parameter is gotten handle not the device type. */ 00026 XmlRpcValue::int32 registeR (XmlRpcValue::int32 const int1, std::string const string2); 00027 }; 00028 00029 #endif /* _mdClientDevice_H_ */ 00030
1.5.6