Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GltObserverAbstract Class Reference
[GLT Misc]

Abstract base-class for Observer classes. More...

#include <observer.h>

Inheritance diagram for GltObserverAbstract:

Inheritance graph
List of all members.

Protected Methods

 GltObserverAbstract ()

 GltObserverAbstract (const GltObserverAbstract &)
 Copy constructor.

virtual ~GltObserverAbstract ()

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.

Detailed Description

Abstract base-class for Observer classes.

This class can not be used directly, see GltObserver.

Definition at line 48 of file observer.h.

The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:45 2002 for GLT by doxygen1.2.18