|
ImagingTools Core SDK
|
Interface for composite (hierarchical) device instances. More...
#include <ICompositeDeviceInstance.h>
Public Member Functions | |
| virtual const ICompositeDeviceSpecification * | GetCompositeDeviceSpecification () const =0 |
| Get composite device specification. | |
| virtual QSet< QByteArray > | GetSupportedSubDeviceTypeIds () const =0 |
| Get supported sub-device type IDs. | |
| virtual const imtbase::ICollectionInfo & | GetSubDeviceList () const =0 |
| Get the list of available sub-devices. | |
| virtual const IDeviceInstance * | GetSubDeviceInstance (const QByteArray &subDeviceId) const =0 |
| Get device instance info of specific sub-device. | |
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 composite (hierarchical) device instances.
ICompositeDeviceInstance extends IDeviceInstance to support hierarchical device structures where a parent device contains one or more sub-devices. This enables modeling of complex hardware systems where a single physical unit contains multiple logical devices.
This interface implements the Composite Pattern, allowing devices to be organized in tree structures with parent-child relationships. Sub-devices can themselves be composite devices, enabling multi-level hierarchies.
Definition at line 107 of file ICompositeDeviceInstance.h.
|
pure virtual |
Get composite device specification.
Returns the composite device specification that describes static properties of this composite device type, including sub-device specifications.
Implemented in imtdev::CCompositeDeviceInstanceBase.
|
pure virtual |
Get device instance info of specific sub-device.
Retrieves the device instance information for a sub-device with the given identifier.
| subDeviceId | Unique identifier of the sub-device within this composite |
Implemented in imtdev::CCompositeDeviceInstanceBase.
|
pure virtual |
Get the list of available sub-devices.
Returns a collection containing information about all sub-devices currently available within this composite device. The collection supports iteration and provides change notifications when sub-devices are added or removed.
Implemented in imtdev::CCompositeDeviceInstanceBase.
|
pure virtual |
Get supported sub-device type IDs.
Returns a set of device type identifiers that are supported as sub-devices within this composite device. Only devices of these types can be added as sub-devices.
Implemented in imtdev::CCompositeDeviceInstanceBase.