ImagingTools Core SDK
Public Member Functions | List of all members
imtlic::ILicenseInstanceProviderabstract

#include <ILicenseInstanceProvider.h>

Inheritance diagram for imtlic::ILicenseInstanceProvider:
imtlic::IProductInstanceInfo imtlic::CProductInstanceInfo imtlic::CLicensedHardwareInstanceInfo imtlic::CProductInstanceInfoComp

Public Member Functions

virtual const imtbase::ICollectionInfoGetLicenseInstances () const =0
 
virtual const ILicenseInstanceGetLicenseInstance (const QByteArray &licenseId) const =0
 

Detailed Description

Interface for a provider of license instances.

This interface is implemented by components that manage activated licenses, such as IProductInstanceInfo. It provides access to the collection of License Instances that are currently activated.

See also
ILicenseInstance, IProductInstanceInfo

Definition at line 32 of file ILicenseInstanceProvider.h.

Member Function Documentation

◆ GetLicenseInstance()

virtual const ILicenseInstance * imtlic::ILicenseInstanceProvider::GetLicenseInstance ( const QByteArray &  licenseId) const
pure virtual

Get a specific activated license instance by its ID.

Parameters
licenseIdUnique identifier of the license
Returns
Pointer to the license instance, or nullptr if not found

◆ GetLicenseInstances()

virtual const imtbase::ICollectionInfo & imtlic::ILicenseInstanceProvider::GetLicenseInstances ( ) const
pure virtual

Get information about the collection of activated license instances.

Returns
Collection info describing the activated licenses