globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
Superclass of all objects that want others to signal that they have changed. More...
#include <globjects/include/globjects/base/Changeable.h>
Public Member Functions | |
void | changed () const |
void | registerListener (ChangeListener *listener) |
void | deregisterListener (ChangeListener *listener) |
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().
void globjects::Changeable::changed | ( | ) | const |
void globjects::Changeable::registerListener | ( | ChangeListener * | listener | ) |
void globjects::Changeable::deregisterListener | ( | ChangeListener * | listener | ) |