|
ImagingTools Core SDK
|
Interface for describing runtime information about a device instance. More...
#include <IDeviceInstance.h>
Public Types | |
| enum | IdentifierTypes { IT_SERIAL } |
| Types of device identifiers. More... | |
| enum | VersionIds { VI_FIRMWARE_VERSION_MAJOR = iser::IVersionInfo::UserVersionId , VI_FIRMWARE_VERSION_MINOR , VI_FIRMWARE_VERSION_PATCH , VI_HARDWARE_VERSION_MAJOR , VI_HARDWARE_VERSION_MINOR , VI_HARDWARE_VERSION_PATCH } |
| Version information identifiers. More... | |
Public Member Functions | |
| virtual const IDeviceSpecification & | GetDeviceSpecification () const =0 |
| Get device static info associated with device instance. | |
| virtual QByteArray | GetIdentifier (int identifierType) const =0 |
| Get the device identifier of the given type. | |
| virtual const iser::IVersionInfo & | GetVersion () const =0 |
| Get device instance version information. | |
| virtual const iattr::IAttributesProvider * | GetAttributes () const =0 |
| Get device instance attributes provider. | |
Interface for describing runtime information about a device instance.
IDeviceInstance represents a specific instance of a device at runtime. It provides access to instance-specific information including unique identifiers (such as serial numbers), version information (firmware, hardware), and dynamic attributes.
This interface extends istd::IChangeable to support change notifications when device instance properties are modified.
Definition at line 59 of file IDeviceInstance.h.
Types of device identifiers.
Enumeration of different identifier types that can be used to uniquely identify device instances.
| Enumerator | |
|---|---|
| IT_SERIAL | Serial number identifier. |
Definition at line 68 of file IDeviceInstance.h.
Version information identifiers.
Enumeration of version components that can be queried from device instances. Extends iser::IVersionInfo::UserVersionId to add device-specific version types.
Definition at line 80 of file IDeviceInstance.h.
|
pure virtual |
Get device instance attributes provider.
Returns the attributes provider that manages dynamic, instance-specific properties for this device. May return nullptr if no attributes are available.
Implemented in imtdev::CDeviceInstanceBase.
|
pure virtual |
Get device static info associated with device instance.
Returns the device specification that describes the static properties and capabilities of this device type.
|
pure virtual |
Get the device identifier of the given type.
Retrieves a device identifier such as serial number that uniquely identifies this device instance.
| identifierType | Type of identifier to retrieve (e.g., IT_SERIAL) |
Implemented in imtdev::CDeviceInstanceBase.
|
pure virtual |
Get device instance version information.
Returns version information containing firmware and hardware version numbers for this specific device instance.
Implemented in imtdev::CDeviceInstanceBase.