#include <observer.h>
Inheritance diagram for GltObserverAbstract:
Protected Methods | |
GltObserverAbstract () | |
Constructor. | |
GltObserverAbstract (const GltObserverAbstract &) | |
Copy constructor. | |
virtual | ~GltObserverAbstract () |
Destructor. | |
GltObserverAbstract & | operator= (const GltObserverAbstract &) |
Assignment operator. | |
void | observe (GltSubject &subject) |
Observe an object. | |
void | forget (GltSubject &subject) |
Forget an object. | |
virtual void | OnNotify (const void *subject)=0 |
Supplied by GltObserver to do type-specific OnNotify callback event. | |
Protected Attributes | |
std::list< GltSubject * > | _subjects |
List of subjects observed by this object. |
This class can not be used directly, see GltObserver.
Definition at line 48 of file observer.h.