globjects
2.0.0.690708773bba
Strict OpenGL objects wrapper.
|
Allows listening to any Changeable. More...
#include <globjects/include/globjects/base/ChangeListener.h>
Public Member Functions | |
virtual | ~ChangeListener () |
virtual void | notifyChanged (const Changeable *sender) |
Protected Member Functions | |
void | addSubject (Changeable *subject) |
virtual void | removeSubject (Changeable *subject) |
Protected Attributes | |
std::set< Changeable * > | m_subjects |
Friends | |
class | Changeable |
Allows listening to any Changeable.
If a Changeable this ChangeListener is registered on signals a change, the notifyChanged() method is called. This class implements the observer pattern.
|
virtual |
|
virtual |
|
protected |
|
protectedvirtual |
|
friend |
|
protected |