|
ImagingTools Core SDK
|
Interface for modifying device instance information. More...
#include <IEditableDeviceInstance.h>
Public Member Functions | |
| virtual bool | SetIdentifier (IdentifierTypes idType, const QByteArray &id)=0 |
| Set device identifier. | |
| virtual bool | SetVersion (int versionId, quint32 version, const QString &description)=0 |
| Set device version information. | |
| virtual iattr::IAttributesManager * | GetAttributesManager ()=0 |
| Get device instance attributes manager. | |
Public Member Functions inherited from imtdev::IDeviceInstance | |
| 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. | |
Additional Inherited Members | |
Public Types inherited from imtdev::IDeviceInstance | |
| 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... | |
Interface for modifying device instance information.
IEditableDeviceInstance extends IDeviceInstance to provide mutable access to device instance properties. While IDeviceInstance provides read-only access, this interface allows modification of identifiers, version information, and attributes.
This interface is essential for:
Definition at line 93 of file IEditableDeviceInstance.h.
|
pure virtual |
Get device instance attributes manager.
Returns the attributes manager that provides mutable access to device instance attributes. Unlike GetAttributes() which returns read-only provider, this returns the manager interface for modifications.
Implemented in imtdev::CDeviceInstanceBase.
|
pure virtual |
Set device identifier.
Sets the device identifier of the specified type (e.g., serial number).
| idType | Type of identifier to set (e.g., IT_SERIAL) |
| id | Identifier value as a byte array |
Implemented in imtdev::CDeviceInstanceBase.
|
pure virtual |
Set device version information.
Sets a version component (firmware or hardware version number) with an optional description.
| versionId | Version component identifier (e.g., VI_FIRMWARE_VERSION_MAJOR) |
| version | Version number value |
| description | Human-readable version description |
Implemented in imtdev::CDeviceInstanceBase.