1 #ifndef CONFIG_IMPL_CMDLINE_H 2 #define CONFIG_IMPL_CMDLINE_H 5 #include "core/export_handling.h" 6 #include "config/config_storage_type.h" 7 #include "backend_cmdline/config_impl_base_cmdline.h" 29 void *
value(
void)
override;
40 void load(std::string value)
override;
52 void lock(
void)
override;
64 void unlock(
void)
override;
78 typename ConfigStorageType<T>::type val;
81 #endif // CONFIG_IMPL_CMDLINE_H The Config implementation for the Cmdline backend.
Definition: config_impl_cmdline.h:20
virtual void * value(void)=0
Get the value of the config.
Base class for ConfigImplCmdline.
Definition: config_impl_base_cmdline.h:16
virtual bool changed(void)=0
Check if the config value changed.
virtual void lock(void)=0
Lock the mutex of the config.
virtual void unlock(void)=0
Unlock the mutex of the config.
virtual void load(std::string value)=0
Load the value from a string.