#include <observer.h>
Public Methods | |
GltSubject () | |
Constructor. | |
GltSubject (const GltSubject &) | |
Copy-constructor -- copy does not receive observers. | |
~GltSubject () | |
Destructor. | |
GltSubject & | operator= (const GltSubject &) |
Assignment operator-- observers are unaffected. | |
void | notify (const void *object) |
Notify observers of an update. |
Classes inheriting from GltSubject can be observed by one or more observers. All registered observers will receive the OnNotify() callback when the GltSubject derived class calls notify().
See also GltObserver.
Definition at line 132 of file observer.h.