Interface for observing configuration changes. More...
#include <ConfigObserver.h>
Public Member Functions | |
virtual void | valueChanged (const icl_core::String &key)=0 |
virtual | ~ConfigObserver () |
Interface for observing configuration changes.
Implement this interface and register with the ConfigManager singleton instance for one or more config keys. If the value of one of these keys changes, the valueChanged method will be called, which needs to be implemented.
Definition at line 40 of file ConfigObserver.h.
virtual icl_core::config::ConfigObserver::~ConfigObserver | ( | ) | [inline, virtual] |
Destructor. Automatically unregisters from ConfigManager
Definition at line 53 of file ConfigObserver.h.
virtual void icl_core::config::ConfigObserver::valueChanged | ( | const icl_core::String & | key | ) | [pure virtual] |
The value of the given configuration key has changed. This method will be called for any key if you registered for it using ConfigManager's RegisterObserver() method
Implemented in TestObserver.