#include <hotplugcapabledevice.h>
|
| static const char * | getDeviceName () |
| | Static name used for LOGGING purposes.
|
| |
Definition at line 32 of file hotplugcapabledevice.h.
◆ HotPlugCapableDevice()
| INDI::HotPlugCapableDevice::HotPlugCapableDevice |
( |
| ) |
|
|
default |
◆ ~HotPlugCapableDevice()
| virtual INDI::HotPlugCapableDevice::~HotPlugCapableDevice |
( |
| ) |
|
|
virtualdefault |
◆ createDevice()
| virtual std::shared_ptr< DefaultDevice > INDI::HotPlugCapableDevice::createDevice |
( |
const std::string & |
identifier | ) |
|
|
pure virtual |
Factory method to create a new device instance.
- Parameters
-
| identifier | The unique string identifier of the device to create. |
- Returns
- A shared pointer to the newly created DefaultDevice instance.
◆ destroyDevice()
| virtual void INDI::HotPlugCapableDevice::destroyDevice |
( |
std::shared_ptr< DefaultDevice > |
device | ) |
|
|
pure virtual |
Destroys a device instance and performs driver-specific cleanup.
- Parameters
-
| device | A shared pointer to the device to destroy. |
◆ discoverConnectedDeviceIdentifiers()
| virtual std::vector< std::string > INDI::HotPlugCapableDevice::discoverConnectedDeviceIdentifiers |
( |
| ) |
|
|
pure virtual |
Discovers currently connected devices of this driver's type.
- Returns
- A vector of unique string identifiers for connected devices.
◆ getDeviceName()
| static const char * INDI::HotPlugCapableDevice::getDeviceName |
( |
| ) |
|
|
inlinestatic |
◆ getManagedDevices()
| virtual const std::map< std::string, std::shared_ptr< DefaultDevice > > & INDI::HotPlugCapableDevice::getManagedDevices |
( |
| ) |
const |
|
pure virtual |
Provides a unified map view of currently managed devices.
- Returns
- A const reference to a map of managed devices, keyed by their unique string identifiers.
The documentation for this class was generated from the following file: