csl::Observer Class Reference

#include <CGestalt.h>

Inheritance diagram for csl::Observer:

csl::Spatializer csl::Spatializer csl::SpatialPanner csl::SpatialPanner Spectrogram

Detailed Description

CSL Observer/Dependent/Monitor class -- instances receive update() messages from "models" and handle some argument, which may be the model's "this" pointer, or any other data.

Subclasses must override the update() method to do their stuff -- grabbing a data buffer, operating on their model, or displaying something. The mPeriod is the requested period for updates. The mKey is an int value for the model's evaluate() function to filter updates i.e., if the model implements evaluate(void*), and its return value is non-zero and matches the observer's key, then an update will be sent. An example of using this is a MIDI IO object's channel filtering for MIDI listeners (observers).


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