Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
corbo::gui::ParameterCache Class Reference

#include <parameter_cache.h>

Public Types

using CacheMap = std::unordered_map< std::string, std::unique_ptr< google::protobuf::Message > >
 

Public Member Functions

void erase (const std::string &key)
 
std::unique_ptr< google::protobuf::Message > fromCache (const std::string &key) const
 
bool hasCache (const std::string &key) const
 
void toCache (const std::string &key, const google::protobuf::Message &message)
 

Static Public Member Functions

static std::string nestedNameListToKey (const std::list< std::string > &nested_name)
 

Private Attributes

CacheMap _params
 

Detailed Description

Definition at line 82 of file parameter_cache.h.

Member Typedef Documentation

◆ CacheMap

using corbo::gui::ParameterCache::CacheMap = std::unordered_map<std::string, std::unique_ptr<google::protobuf::Message> >

Definition at line 107 of file parameter_cache.h.

Member Function Documentation

◆ erase()

void corbo::gui::ParameterCache::erase ( const std::string &  key)
inline

Definition at line 115 of file parameter_cache.h.

◆ fromCache()

std::unique_ptr< google::protobuf::Message > corbo::gui::ParameterCache::fromCache ( const std::string &  key) const

Definition at line 85 of file parameter_cache.cpp.

◆ hasCache()

bool corbo::gui::ParameterCache::hasCache ( const std::string &  key) const

Definition at line 97 of file parameter_cache.cpp.

◆ nestedNameListToKey()

std::string corbo::gui::ParameterCache::nestedNameListToKey ( const std::list< std::string > &  nested_name)
static

Definition at line 99 of file parameter_cache.cpp.

◆ toCache()

void corbo::gui::ParameterCache::toCache ( const std::string &  key,
const google::protobuf::Message &  message 
)

Definition at line 78 of file parameter_cache.cpp.

Member Data Documentation

◆ _params

CacheMap corbo::gui::ParameterCache::_params
private

Definition at line 120 of file parameter_cache.h.


The documentation for this class was generated from the following files:


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:07:21