Skip to content

cvedia::rt::LicenseLedgerState

Public Attributes

Name
std::set< Uuid > granted
std::set< Uuid > demand
std::set< Uuid > grantedKeepDemand
std::map< Uuid, std::set< std::string > > contexts

Public Attributes Documentation

variable granted

std::set< Uuid > granted;

variable demand

std::set< Uuid > demand;

variable grantedKeepDemand

std::set< Uuid > grantedKeepDemand;

variable contexts

std::map< Uuid, std::set< std::string > > contexts;

Tracks which contexts hold a demand on this tag per instance. A tag covering multiple independent features (e.g. attribute extraction covering many attributes) is demanded by each of them under a distinct context; the grant is only released once the last context registers its release. Demands/releases without an explicit context are tracked under a reserved default context, preserving single-shot idempotent semantics.