#include <ccomponent.h>
Inheritance diagram for CModel:


Public Member Functions | |
| virtual void | attach (IObserver *o) |
| virtual void | detach (IObserver *o) |
| virtual void | notify () |
Protected Attributes | |
| std::list< IObserver * > | observers |
Definition at line 45 of file ccomponent.h.
|
|
Attach an observer to the model. Definition at line 52 of file ccomponent.h. References observers, and IObserver::update(). |
Here is the call graph for this function:

|
|
Detach an observer from the model. Definition at line 55 of file ccomponent.h. References observers. |
|
|
Notify the model's observers that the model has changed. Definition at line 58 of file ccomponent.h. References observers. |
|
|
List of the model's observers (subscribers). Definition at line 48 of file ccomponent.h. |
1.3.3