Skip to content

builtin/license_enforcer.h

Namespaces

Name
cvedia
cvedia::rt
API for controlling the server and lifecycle management of runtime instances.
cvedia::rt::licensing

Classes

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

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)

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
)