Public Member Functions
icl_core::config::ConfigObserver Class Reference

Interface for observing configuration changes. More...

#include <ConfigObserver.h>

Inheritance diagram for icl_core::config::ConfigObserver:
Inheritance graph

List of all members.

Public Member Functions

virtual void valueChanged (const icl_core::String &key)=0
virtual ~ConfigObserver ()

Detailed Description

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.

Constructor & Destructor Documentation

Destructor. Automatically unregisters from ConfigManager

Definition at line 53 of file ConfigObserver.h.

Member Function Documentation

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.

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

autogenerated on Tue Aug 8 2017 02:28:05