Skip to content

api/system.h

Namespaces

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

Functions

Name
expected< void > setKeyValue(std::string const & key, CValue const & value)
expected< pCValue > getKeyValue(std::string const & key)
pCValue getKeyValues()
std::vector< std::string > getKeys()
bool deleteKey(std::string const & key)
expected< void > incrementRef(std::string const & key)
expected< void > decrementRef(std::string const & key)
std::shared_mutex & getCudaMutex()
std::vector< std::string > getRegisteredPlugins()
std::string getPreferences()
std::string getApplicationPath()
std::string getRtHomeDir()
void setRtHomeDir(std::string const & path)
bool isRtHomeDirWritable()
void setRtInstanceDir(std::string const & path)
std::string getRtInstanceDir()
std::shared_ptr< rt::system::Info > getSystemInfo()
std::string getModelsPath()
std::string generateGuid()
expected< pCValue > getDecoders()
expected< nlohmann::json > getSystemInfoJson()

Functions Documentation

function setKeyValue

expected< void > setKeyValue(
    std::string const & key,
    CValue const & value
)

function getKeyValue

expected< pCValue > getKeyValue(
    std::string const & key
)

function getKeyValues

pCValue getKeyValues()

function getKeys

std::vector< std::string > getKeys()

function deleteKey

bool deleteKey(
    std::string const & key
)

function incrementRef

expected< void > incrementRef(
    std::string const & key
)

function decrementRef

expected< void > decrementRef(
    std::string const & key
)

function getCudaMutex

std::shared_mutex & getCudaMutex()

function getRegisteredPlugins

std::vector< std::string > getRegisteredPlugins()

function getPreferences

std::string getPreferences()

function getApplicationPath

std::string getApplicationPath()

function getRtHomeDir

std::string getRtHomeDir()

function setRtHomeDir

void setRtHomeDir(
    std::string const & path
)

function isRtHomeDirWritable

bool isRtHomeDirWritable()

function setRtInstanceDir

void setRtInstanceDir(
    std::string const & path
)

function getRtInstanceDir

std::string getRtInstanceDir()

function getSystemInfo

std::shared_ptr< rt::system::Info > getSystemInfo()

function getModelsPath

std::string getModelsPath()

function generateGuid

std::string generateGuid()

function getDecoders

expected< pCValue > getDecoders()

function getSystemInfoJson

expected< nlohmann::json > getSystemInfoJson()