Public Member Functions | List of all members
icl_core::config::ConfigObserver Class Referenceabstract

Interface for observing configuration changes. More...

#include <ConfigObserver.h>

Inheritance diagram for icl_core::config::ConfigObserver:
Inheritance graph
[legend]

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

virtual icl_core::config::ConfigObserver::~ConfigObserver ( )
inlinevirtual

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:


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59