|
roviz
0.7
Code Documentation of roviz
|
The Config implementation for the Cmdline backend. More...
#include <config_impl_cmdline.h>


Public Member Functions | |
| void * | value (void) override |
| Get the value of the config. More... | |
| void | load (std::string value) override |
| Load the value from a string. More... | |
| void | lock (void) override |
| Lock the mutex of the config. More... | |
| void | unlock (void) override |
| Unlock the mutex of the config. More... | |
| bool | changed (void) override |
| Check if the config value changed. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
| template<> | |
| void | load (std::string value) |
| Load the value from a string. More... | |
The Config implementation for the Cmdline backend.
This implementation can only load a value from a string. Once it is loaded, it doesn't change anymore.
|
overridevirtual |
Check if the config value changed.
Always returns false, because with that backend, the configs cannot change.
Implements ConfigImpl.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
overridevirtual |
Load the value from a string.
| value | The string representation of the value |
This has to be done before the thread is run. Otherwise a race condition might happen because we don't lock anything.
Implements ConfigImplBaseCmdline.
|
virtual |
Load the value from a string.
| value | The string representation of the value |
ConfigImplCmdline will determine how to parse the string based on its template type.
Implements ConfigImplBaseCmdline.
|
overridevirtual |
Lock the mutex of the config.
As it will never happend that two threads access this config at the same time, which is guaranteed by the design of the Cmdline framework, this function doesn't do anything.
Implements ConfigImpl.
|
overridevirtual |
Unlock the mutex of the config.
As it will never happend that two threads access this config at the same time, which is guaranteed by the design of the Cmdline framework, this function doesn't do anything.
Implements ConfigImpl.
|
overridevirtual |
Get the value of the config.
Implements ConfigImpl.
1.8.13