Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

IObserver Class Reference

#include <ccomponent.h>

Inheritance diagram for IObserver:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void update (CModel *model)=0

Detailed Description

Abstract interface for an observer of a CModel class. Part of an MVC pattern (views will usually implement this interface).

Definition at line 31 of file ccomponent.h.


Member Function Documentation

virtual void IObserver::update CModel model  )  [pure virtual]
 

The update method is called by a model to notify its observers that it has changed.

Implemented in Testing::CFPSGraphicalObserver, and Testing::CPhysicsTickerObserver.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 11:59:26 2003 for GFW by doxygen 1.3.3