![]() |
HydroCouple
2.0.0
HydroCouple Interface Definitions
|
IModelComponentInfo interface inherits from the IComponentInfo interface which provides detailed metadata about an IModelComponent. Additionally, it creates new instances of a component. More...
#include <hydrocouple.h>
Public Member Functions | |
| virtual | ~IModelComponentInfo ()=default |
| IModelComponentInfo::~IModelComponentInfo is a virtual destructor. | |
| virtual IModelComponent * | createComponentInstance ()=0 |
| Creates a new IModelComponent instance. | |
| virtual vector< IAdaptedOutputFactory * > | adaptedOutputFactories () const =0 |
| Gets a list of IAdaptedOutputFactories, each allowing to create IAdaptedOutput item for making outputs fit to inputs in case they do not already do so. | |
Public Member Functions inherited from HydroCouple::IComponentInfo | |
| virtual | ~IComponentInfo ()=default |
| IComponentInfo::~IComponentInfo is a virtual destructor. | |
| virtual string | libraryFilePath () const =0 |
| File path to Component library. | |
| virtual void | setLibraryFilePath (const string &filePath)=0 |
| Sets file path to Component library. | |
| virtual string | iconFilePath () const =0 |
| File path to Component icon. Must be specified relative to the component library. | |
| virtual string | developer () const =0 |
| Component developer information. | |
| virtual list< string > | documentation () const =0 |
| Documentation associated with this component. | |
| virtual string | license () const =0 |
| Component license info. | |
| virtual string | copyright () const =0 |
| Component copyright info. | |
| virtual string | url () const =0 |
| Component developer url. | |
| virtual string | email () const =0 |
| Component developer email. | |
| virtual string | version () const =0 |
| Component version info. | |
| virtual set< string > | tags () const =0 |
| tags used to classify this component. | |
| virtual bool | validateLicense (const string &licenseInfo, string &validationMessage)=0 |
| Checks if license is valid and persists license information. | |
| virtual bool | validateLicense (string &validationMessage)=0 |
| validateLicense Checks if component is licensed and returns. | |
Public Member Functions inherited from HydroCouple::IIdentity | |
| virtual | ~IIdentity ()=default |
| IIdentity::~IIdentity is a virtual destructor. | |
| virtual string | id () const =0 |
| Gets a unique identifier for the entity. | |
Public Member Functions inherited from HydroCouple::IDescription | |
| virtual | ~IDescription ()=default |
| IDescription::~IDescription is a virtual destructor. | |
| virtual string | caption () const =0 |
| Gets caption for the entity. | |
| virtual void | setCaption (const string &caption)=0 |
| Sets caption for the entity. | |
| virtual string | description () const =0 |
| Gets additional descriptive information for the entity. | |
| virtual void | setDescription (const string &description)=0 |
| Gets additional descriptive information for the entity. | |
Public Member Functions inherited from HydroCouple::IPropertyChanged | |
| virtual | ~IPropertyChanged ()=default |
| IPropertyChanged::~IPropertyChanged is a virtual destructor. | |
Public Member Functions inherited from HydroCouple::ISignal< string > | |
| virtual | ~ISignal ()=default |
| ISignal::~ISignal is a virtual destructor. | |
| virtual void | connect (const shared_ptr< ISlot< Args... > > &slot)=0 |
| connect is used to connect a slot to the signal. | |
| virtual void | disconnect (const shared_ptr< ISlot< Args... > > &slot)=0 |
| disconnect is used to disconnect a slot from the signal. | |
| virtual void | blockSignals (bool block)=0 |
| blockSignals is used to block signals from being emitted. | |
Additional Inherited Members | |
Protected Member Functions inherited from HydroCouple::ISignal< string > | |
| virtual void | emit (Args... args)=0 |
| emit is used to emit the signal. | |
IModelComponentInfo interface inherits from the IComponentInfo interface which provides detailed metadata about an IModelComponent. Additionally, it creates new instances of a component.
The IModelComponentInfo interface is used to provide metadata on a component and create new instances of a component.
|
virtualdefault |
IModelComponentInfo::~IModelComponentInfo is a virtual destructor.
|
pure virtual |
Gets a list of IAdaptedOutputFactories, each allowing to create IAdaptedOutput item for making outputs fit to inputs in case they do not already do so.
Factories can be added to and removed from the list so that third-party factories and IAdaptedOutput classes can be introduced.
|
pure virtual |
Creates a new IModelComponent instance.