00001 #ifndef QRK_DEVICE_IP_MANAGER_H 00002 #define QRK_DEVICE_IP_MANAGER_H 00003 00013 #include <memory> 00014 00015 00016 namespace qrk 00017 { 00021 class DeviceIpManager 00022 { 00023 DeviceIpManager(void); 00024 DeviceIpManager(const DeviceIpManager& rhs); 00025 DeviceIpManager& operator = (const DeviceIpManager& rhs); 00026 00027 struct pImpl; 00028 std::auto_ptr<pImpl> pimpl; 00029 00030 public: 00031 ~DeviceIpManager(void); 00032 static DeviceIpManager* object(void); 00033 00034 long createIpPort(const char* device, int sub_id = 0); 00035 }; 00036 } 00037 00038 #endif /* !QRK_DEVICE_IP_MANAGER_H */