Abstract virtual interface type to implement types observing configuration changes.
Definition at line 126 of file configuration.hpp.
#include <configuration.hpp>
Public Type Index: | |
enum class | Event { Creation , Definition , Deletion } |
The type of change that imposes the notification of a listener. More... | |
Public Method Index: | |
virtual | ~ConfigurationListener () |
Virtual destructor. | |
virtual void | Notify (const Variable &variable, Event event, Priority previousPriority)=0 |
|
strong |
The type of change that imposes the notification of a listener.
Enumerator | |
---|---|
Creation | A variable was declared for the first time. |
Definition | A variable was defined or re-defined with the same or a higher priority. |
Deletion | A variable is deleted. Note that the variable is still valid when method Notify is invoked and will be deleted right after the invocation of all listeners in question. |
Definition at line 129 of file configuration.hpp.
|
inlinevirtual |
Virtual destructor.
Definition at line 139 of file configuration.hpp.
|
pure virtual |
The virtual notification method.
variable | The variable that was modified. |
event | The type of modification. |
previousPriority | The priority of the variable before event type Event::Definition. |
With other events, this parameter is undefined.