mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Device describe
This commit is contained in:
@@ -37,6 +37,11 @@ public:
|
||||
std::string getSerial() const { return data.serial; }
|
||||
uint32_t getSerialNumber() const { return Device::SerialStringToNum(getSerial()); }
|
||||
const neodevice_t& getNeoDevice() const { return data; }
|
||||
std::string describe() const;
|
||||
friend std::ostream& operator<<(std::ostream& os, const Device& device) {
|
||||
os << device.describe();
|
||||
return os;
|
||||
}
|
||||
|
||||
virtual bool open();
|
||||
virtual bool close();
|
||||
|
||||
Reference in New Issue
Block a user