|
ImagingTools Core SDK
|
Interface for managing device-specific configurations. More...
#include <IDeviceConfigurationManager.h>
Public Member Functions | |
| virtual DeviceConfigurationPtr | GetDeviceConfiguration (const QByteArray &deviceId) const =0 |
| Get configuration for a specific device. | |
| virtual bool | SetDeviceConfiguration (const QByteArray &deviceId, const iprm::IParamsSet &configuration)=0 |
| Set configuration for a specific device. | |
Interface for managing device-specific configurations.
IDeviceConfigurationManager provides centralized management of device configurations, enabling storage and retrieval of device-specific parameter sets indexed by device ID.
This interface supports:
Configuration data is persisted and can be serialized for storage across sessions. Each device instance can have its own unique configuration, identified by device ID.
Definition at line 94 of file IDeviceConfigurationManager.h.
|
pure virtual |
Get configuration for a specific device.
Retrieves the configuration parameter set associated with the given device ID. Returns nullptr if no configuration exists for the device.
| deviceId | Unique identifier of the device |
|
pure virtual |
Set configuration for a specific device.
Stores or updates the configuration for the given device ID. This triggers change notifications to any registered observers.
| deviceId | Unique identifier of the device |
| configuration | Configuration parameter set to store |