Superclass of all objects that want others to signal that they have changed.
More...
#include <globjects/include/globjects/base/Changeable.h>
Superclass of all objects that want others to signal that they have changed.
It implements the observer pattern. Listeners to the subclass change can be registered using registerListener() and deregistered using deregisterListener().
- See also
- ChangeListener
globjects::Changeable::Changeable |
( |
| ) |
|
virtual globjects::Changeable::~Changeable |
( |
| ) |
|
|
virtual |
void globjects::Changeable::changed |
( |
| ) |
const |
void globjects::Changeable::registerListener |
( |
ChangeListener * |
listener | ) |
|
void globjects::Changeable::deregisterListener |
( |
ChangeListener * |
listener | ) |
|
The documentation for this class was generated from the following file: