csl::Model Class Reference

#include <CGestalt.h>

Inheritance diagram for csl::Model:

csl::IO csl::IO csl::MIDIIO csl::MIDIIO csl::SpeakerLayout csl::SpeakerLayout csl::UnitGenerator csl::UnitGenerator

Detailed Description

The Model/Observable/Subject class; instances of its subclasses should send themselves, this->changed(some_data); on "relevant" state changes; the code they inherit (from Model) manages updating the list of observer/dependent objects in that they each receive update(some_data); and can access the model-passed data (the model might pass "this").

Note the addition of timers, so observers can request no more than a certain rate of updates.


The documentation for this class was generated from the following file:
Generated on Sat Oct 17 14:12:35 2009 for CSL by  doxygen 1.4.5-20051010