|
| | ConfigAdminMock (coil::Properties &configsets) |
| |
| void | onActivateSetMock (const char *config_id) |
| |
| void | onAddConfigurationSetMock (const coil::Properties &config_set) |
| |
| void | onRemoveConfigurationSetMock (const char *config_id) |
| |
| void | onSetConfigurationSetMock (const coil::Properties &config_set) |
| |
| void | onUpdateMock (const char *config_set) |
| |
| void | onUpdateParamMock (const char *config_set, const char *config_param) |
| |
| virtual | ~ConfigAdminMock (void) |
| |
| bool | activateConfigurationSet (const char *config_id) |
| | Activate the configuration set. More...
|
| |
| void | addConfigurationParamListener (ConfigurationParamListenerType type, ConfigurationParamListener *listener, bool autoclean=true) |
| | Adding ConfigurationParamListener. More...
|
| |
| bool | addConfigurationSet (const coil::Properties &configuration_set) |
| | Add the configuration value to configuration set. More...
|
| |
| void | addConfigurationSetListener (ConfigurationSetListenerType type, ConfigurationSetListener *listener, bool autoclean=true) |
| | Adding ConfigurationSetListener. More...
|
| |
| void | addConfigurationSetNameListener (ConfigurationSetNameListenerType type, ConfigurationSetNameListener *listener, bool autoclean=true) |
| | Adding ConfigurationSetNameListener. More...
|
| |
| template<typename VarType > |
| bool | bindParameter (const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo) |
| | Setup for configuration parameters. More...
|
| |
| | ConfigAdmin (coil::Properties &prop) |
| | Constructor. More...
|
| |
| const coil::Properties & | getActiveConfigurationSet (void) |
| | Get the active configuration set. More...
|
| |
| const char * | getActiveId (void) |
| | Get ID of active configuration set. More...
|
| |
| const coil::Properties & | getConfigurationSet (const char *config_id) |
| | Get a configuration set by specified ID. More...
|
| |
| const std::vector< coil::Properties * > & | getConfigurationSets (void) |
| | Get all configuration sets. More...
|
| |
| bool | haveConfig (const char *config_id) |
| | Check the existence of configuration set. More...
|
| |
| bool | isActive (void) |
| | Confirm to activate configuration set. More...
|
| |
| bool | isChanged (void) |
| | Confirm to change configuration parameters. More...
|
| |
| bool | isExist (const char *name) |
| | Check the existence of configuration parameters. More...
|
| |
| void | removeConfigurationParamListener (ConfigurationParamListenerType type, ConfigurationParamListener *listener) |
| | Removing ConfigurationParamListener. More...
|
| |
| bool | removeConfigurationSet (const char *config_id) |
| | Remove the configuration set. More...
|
| |
| void | removeConfigurationSetListener (ConfigurationSetListenerType type, ConfigurationSetListener *listener) |
| | Removing ConfigurationSetListener. More...
|
| |
| void | removeConfigurationSetNameListener (ConfigurationSetNameListenerType type, ConfigurationSetNameListener *listener) |
| | Removing ConfigurationSetNameListener. More...
|
| |
| bool | setConfigurationSetValues (const coil::Properties &configuration_set) |
| | Add to configuration set from specified property. More...
|
| |
| void | setOnActivateSet (OnActivateSetCallback *cb) |
| |
| void | setOnAddConfigurationSet (OnAddConfigurationAddCallback *cb) |
| |
| void | setOnRemoveConfigurationSet (OnRemoveConfigurationSetCallback *cb) |
| |
| void | setOnSetConfigurationSet (OnSetConfigurationSetCallback *cb) |
| |
| void | setOnUpdate (OnUpdateCallback *cb) |
| |
| void | setOnUpdateParam (OnUpdateParamCallback *cb) |
| |
| void | update (void) |
| | Update the values of configuration parameters (Active configuration set) More...
|
| |
| void | update (const char *config_set) |
| | Update configuration parameter (By ID) More...
|
| |
| void | update (const char *config_set, const char *config_param) |
| | Update the values of configuration parameters (By name) More...
|
| |
| | ~ConfigAdmin (void) |
| | Virtual Destructor. More...
|
| |
Definition at line 257 of file ConfigAdminTests.cpp.