Skip to content

cvedia::rt::licensing

Classes

Name
struct cvedia::rt::licensing::InstalledLicenseDiscovery
class cvedia::rt::licensing::LicenseEnforcer
struct cvedia::rt::licensing::ModelOutputLicensePreflightResult

Functions

Name
expected< void > createSystemEnforcer()
expected< std::weak_ptr< LicenseEnforcer > > getSystemEnforcer()
expected< void > requestDemandForAllFeatures(Uuid const & instanceId)
expected< InstalledLicenseDiscovery > discoverInstalledLicenses()
expected< ModelOutputLicensePreflightResult > preflightModelOutputs(Uuid const & instanceId, pCValue const & modelConfig)

Attributes

Name
shared_mutex_class systemEnforcerMux_
std::shared_ptr< LicenseEnforcer > systemLicenseEnforcer_

Functions Documentation

function createSystemEnforcer

expected< void > createSystemEnforcer()

function getSystemEnforcer

expected< std::weak_ptr< LicenseEnforcer > > getSystemEnforcer()

function requestDemandForAllFeatures

expected< void > requestDemandForAllFeatures(
    Uuid const & instanceId
)

function discoverInstalledLicenses

expected< InstalledLicenseDiscovery > discoverInstalledLicenses()

function preflightModelOutputs

expected< ModelOutputLicensePreflightResult > preflightModelOutputs(
    Uuid const & instanceId,
    pCValue const & modelConfig
)

Attributes Documentation

variable systemEnforcerMux_

static shared_mutex_class systemEnforcerMux_;

variable systemLicenseEnforcer_

static std::shared_ptr< LicenseEnforcer > systemLicenseEnforcer_ = nullptr;