PicoScenes API Docs
 
Loading...
Searching...
No Matches
License::LicenseService Class Referenceabstract

#include <LicenseService.hxx>

Public Member Functions

virtual bool isServiceActivated () const =0
 
virtual std::string getLicenseName () const =0
 
virtual bool hasFeature (const std::string &featureName) const =0
 
virtual const FeaturegetFeature (const std::string &featureName)=0
 
virtual bool testFeatureValue (const std::string &featureName, std::optional< double > numericValue)=0
 
virtual bool testFeatureValue (const std::string &featureName, std::optional< std::string > stringValue)=0
 
virtual bool testFeatureValue (const std::string &featureName, std::optional< double > numericValue, std::optional< std::string > stringValue)=0
 
virtual void checkFeature (const std::string &featureName, std::optional< double > numericValue)=0
 
virtual void checkFeature (const std::string &featureName, std::optional< std::string > stringValue)=0
 
virtual void checkFeature (const std::string &featureName, std::optional< double > numericValue, std::optional< std::string > stringValue)=0
 
virtual std::string printHumanReadableLicense () const =0
 

Static Public Member Functions

static std::shared_ptr< LicenseServicegetInstance ()
 

Protected Member Functions

 ~LicenseService ()=default
 

Detailed Description

Definition at line 13 of file LicenseService.hxx.

Constructor & Destructor Documentation

◆ ~LicenseService()

License::LicenseService::~LicenseService ( )
protecteddefault

Member Function Documentation

◆ checkFeature() [1/3]

virtual void License::LicenseService::checkFeature ( const std::string &  featureName,
std::optional< double >  numericValue 
)
pure virtual

◆ checkFeature() [2/3]

virtual void License::LicenseService::checkFeature ( const std::string &  featureName,
std::optional< double >  numericValue,
std::optional< std::string >  stringValue 
)
pure virtual

◆ checkFeature() [3/3]

virtual void License::LicenseService::checkFeature ( const std::string &  featureName,
std::optional< std::string >  stringValue 
)
pure virtual

◆ getFeature()

virtual const Feature & License::LicenseService::getFeature ( const std::string &  featureName)
pure virtual

◆ getInstance()

static std::shared_ptr< LicenseService > License::LicenseService::getInstance ( )
static

◆ getLicenseName()

virtual std::string License::LicenseService::getLicenseName ( ) const
pure virtual

◆ hasFeature()

virtual bool License::LicenseService::hasFeature ( const std::string &  featureName) const
pure virtual

◆ isServiceActivated()

virtual bool License::LicenseService::isServiceActivated ( ) const
pure virtual

◆ printHumanReadableLicense()

virtual std::string License::LicenseService::printHumanReadableLicense ( ) const
pure virtual

◆ testFeatureValue() [1/3]

virtual bool License::LicenseService::testFeatureValue ( const std::string &  featureName,
std::optional< double >  numericValue 
)
pure virtual

◆ testFeatureValue() [2/3]

virtual bool License::LicenseService::testFeatureValue ( const std::string &  featureName,
std::optional< double >  numericValue,
std::optional< std::string >  stringValue 
)
pure virtual

◆ testFeatureValue() [3/3]

virtual bool License::LicenseService::testFeatureValue ( const std::string &  featureName,
std::optional< std::string >  stringValue 
)
pure virtual

The documentation for this class was generated from the following file: