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

#include <IFeatureDependenciesProvider.h>

Inheritance diagram for imtlic::IFeatureDependenciesProvider:
imtlic::IFeatureDependenciesManager

Public Member Functions

virtual QByteArrayList GetFeatureDependencies (const QByteArray &featureId) const =0
 
virtual const IFeatureInfoProviderGetDependencyContainer (const QByteArray &dependencyId) const =0
 

Detailed Description

Interface for providing feature dependency information.

This interface is used to resolve feature dependencies - determining which other features must be available for a given feature to function. It also helps locate where dependency features are defined.

See also
IFeatureInfo, IFeatureInfoProvider

Definition at line 30 of file IFeatureDependenciesProvider.h.

Member Function Documentation

◆ GetDependencyContainer()

virtual const IFeatureInfoProvider * imtlic::IFeatureDependenciesProvider::GetDependencyContainer ( const QByteArray &  dependencyId) const
pure virtual

Get the container (provider) that hosts a specific dependency feature. This helps locate where a dependency feature is defined.

Parameters
dependencyIdID of the dependency feature
Returns
Pointer to the feature info provider containing the dependency, or nullptr if not found

◆ GetFeatureDependencies()

virtual QByteArrayList imtlic::IFeatureDependenciesProvider::GetFeatureDependencies ( const QByteArray &  featureId) const
pure virtual

Get the list of features that a given feature depends on. These dependencies must be satisfied for the feature to function properly.

Parameters
featureIdID of the feature to query
Returns
List of feature IDs that this feature depends on