dRonin
adbada4
dRonin GCS
|
#include <idevice.h>
Public Member Functions | |
QString | getName () const |
void | setName (QString theName) |
QString | getDisplayName () const |
void | setDisplayName (QString dn) |
bool | equals (const IDevice *idv) const |
The IDevice interface class is used by the connection manager and plugins that provide connections to contain plugin-specific info for a given device: for a USB device, that will be PID/VID/Serial number, for serial devices, that will be the port name, etc.
As such, this interface is minimal - only short and display name - , it is up to the plugins to define additional methods/properties they need and use dynamic casting when getting device objects back from the connection manager.