cvedia::rt::SystemRegistry¶
Inherits from LockableObject
Public Functions¶
| Name | |
|---|---|
| void | initialize() |
| expected< void > | setKeyValue(std::string const & key, CValue const & value) |
| expected< void > | incrementRef(std::string const & key) |
| expected< void > | decrementRef(std::string const & key) |
| expected< pCValue > | getKeyValue(std::string const & key) |
| pCValue | getKeyValues() |
| bool | deleteKey(std::string const & key) |
| std::vector< std::string > | getKeys() |
| nlohmann::json | getJsonRegistryUnsafe() |
| std::unique_lock< shared_mutex_class > | getWriteLock() |
| std::shared_lock< shared_mutex_class > | getReadLock() |
Additional inherited members¶
Public Functions inherited from LockableObject
| Name | |
|---|---|
| LockableObject() =default | |
| LockableObject(LockableObject const & other) =delete | |
| LockableObject & | operator=(LockableObject const & other) =delete |
| LockableObject(LockableObject && other) =delete | |
| LockableObject & | operator=(LockableObject && other) =delete |
| std::unique_lock< shared_mutex_class > | getWriteLockAdopt() const |
| std::shared_lock< shared_mutex_class > | getReadLockAdopt() const |
| std::unique_lock< shared_mutex_class > | getWriteLockDefer() const |
| std::shared_lock< shared_mutex_class > | getReadLockDefer() const |
| shared_mutex_class & | getMutex() const |
Public Functions Documentation¶
function initialize¶
static void initialize()
function setKeyValue¶
static expected< void > setKeyValue(
std::string const & key,
CValue const & value
)
function incrementRef¶
static expected< void > incrementRef(
std::string const & key
)
function decrementRef¶
static expected< void > decrementRef(
std::string const & key
)
function getKeyValue¶
static expected< pCValue > getKeyValue(
std::string const & key
)
function getKeyValues¶
static pCValue getKeyValues()
function deleteKey¶
static bool deleteKey(
std::string const & key
)
function getKeys¶
static std::vector< std::string > getKeys()
function getJsonRegistryUnsafe¶
static nlohmann::json getJsonRegistryUnsafe()
function getWriteLock¶
static std::unique_lock< shared_mutex_class > getWriteLock()
function getReadLock¶
static std::shared_lock< shared_mutex_class > getReadLock()