![]() |
HydroCouple
2.0.0-alpha.1
HydroCouple Interface Definitions
|
ILicensedComponent is an optional side interface for components that require license validation. More...
#include <hydrocouple.h>
Public Member Functions | |
| virtual | ~ILicensedComponent ()=default |
| ILicensedComponent::~ILicensedComponent is a virtual destructor. | |
| virtual bool | validateLicense (const std::string &licenseInfo, std::string &validationMessage)=0 |
| Checks if license is valid and persists license information. | |
| virtual bool | validateLicense (std::string &validationMessage)=0 |
| validateLicense Checks if component is licensed and returns. | |
ILicensedComponent is an optional side interface for components that require license validation.
Licensing was removed from IComponentInfo so that headless HPC and cloud builds need not implement licensing stubs. Components that require licensing implement this interface and advertise Capability::Licensing.
|
virtualdefault |
ILicensedComponent::~ILicensedComponent is a virtual destructor.
|
nodiscardpure virtual |
Checks if license is valid and persists license information.
Developer is responsible for implementing this validation based on a license.
| [in] | licenseInfo | license information to use to register this component. |
| [out] | validationMessage | A validation message associated with the license validation process. |
|
nodiscardpure virtual |
validateLicense Checks if component is licensed and returns.
| [out] | validationMessage | A validation message associated with the license validation process. |