Defines the interface that classes can use to listen for change events on Properties.
More...
#include <src/main/decaf/util/logging/PropertiesChangeListener.h>
Public Member Functions |
virtual | ~PropertiesChangeListener () |
virtual void | onPropertiesReset ()=0 |
| Indicates that the Properties have all been reset and should be considered to be back to their default values.
|
virtual void | onPropertyChanged (const std::string &name, const std::string &oldValue, const std::string &newValue)=0 |
| Change Event, called when a property is changed, includes the name of the property that was changed along with it old and new values.
|
Detailed Description
Defines the interface that classes can use to listen for change events on Properties.
- Since
- 1.0
Constructor & Destructor Documentation
virtual decaf::util::logging::PropertiesChangeListener::~PropertiesChangeListener |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual void decaf::util::logging::PropertiesChangeListener::onPropertiesReset |
( |
| ) |
|
|
pure virtual |
Indicates that the Properties have all been reset and should be considered to be back to their default values.
virtual void decaf::util::logging::PropertiesChangeListener::onPropertyChanged |
( |
const std::string & |
name, |
|
|
const std::string & |
oldValue, |
|
|
const std::string & |
newValue |
|
) |
| |
|
pure virtual |
Change Event, called when a property is changed, includes the name of the property that was changed along with it old and new values.
- Parameters
-
name | The name of the Property that changed. |
oldValue | The old Value of the Property. |
newValue | The new Value of the Property. |
The documentation for this class was generated from the following file: