Listener Class Reference

A base class which allows one to get a callback when a given setting is changed. More...

Inherited by DSIMessageSource [private].

List of all members.

Public Member Functions

virtual void OnSettingChanged (const std::string &in_setting, const std::string &in_oldValue, const std::string &in_newValue)=0
 Called right before the value of the given setting is changed in the SimbaSettingsReader.
virtual ~Listener ()
 Virtual destructor.

Protected Member Functions

 Listener ()

Detailed Description

A base class which allows one to get a callback when a given setting is changed.


Constructor & Destructor Documentation

virtual ~Listener (  )  [inline, virtual]

Virtual destructor.

Listener (  )  [inline, protected]

Member Function Documentation

virtual void OnSettingChanged ( const std::string &  in_setting,
const std::string &  in_oldValue,
const std::string &  in_newValue 
) [pure virtual]

Called right before the value of the given setting is changed in the SimbaSettingsReader.

Note: This method should not access SimbaSettingReader, directly or indirectly, as this could cause deadlock.

Parameters:
in_setting The key for the setting which is being changed.
in_oldValue The value for the given setting before it is changed.
in_newValue The value the given setting is going to be changed to.

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

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba