csl::StaticVariable Class Reference

#include <Variable.h>

Inheritance diagram for csl::StaticVariable:

csl::CVariable csl::UnitGenerator csl::Model

List of all members.

Public Member Functions

 StaticVariable (float x)
 Constructors.
 StaticVariable (int x)
 StaticVariable (double x)
bool isFixed ()
 this what being a static variable means!
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 versions of nextBuffer
float value ()
void setValue (float x)
 set/get the value (not allowed in the abstract, useful for static values)
void setValue (int x)
void setValue (double x)


Detailed Description

StaticVariable -- he static external variable (plug) class. This is a kind of variable that holds onto floating-point value that is fixed each control rate period (e.g., changes at most once per control rate).

Constructor & Destructor Documentation

csl::StaticVariable::StaticVariable ( float  x  )  [inline]

Constructors.

csl::StaticVariable::StaticVariable ( int  x  )  [inline]

csl::StaticVariable::StaticVariable ( double  x  )  [inline]


Member Function Documentation

bool csl::StaticVariable::isFixed (  )  [inline, virtual]

this what being a static variable means!

Reimplemented from csl::UnitGenerator.

void StaticVariable::nextBuffer ( Buffer outputBuffer,
unsigned  outBufNum 
) throw (CException) [virtual]

versions of nextBuffer

Reimplemented from csl::UnitGenerator.

float csl::StaticVariable::value (  )  [inline, virtual]

Reimplemented from csl::UnitGenerator.

References csl::CVariable::value().

void csl::StaticVariable::setValue ( float  theValue  )  [inline, virtual]

set/get the value (not allowed in the abstract, useful for static values)

Reimplemented from csl::UnitGenerator.

Referenced by csl::SndFileInstrument::playNote(), csl::SndFileInstrument::playOSC(), csl::SndFileInstrument::setParameter(), and setValue().

void csl::StaticVariable::setValue ( int  x  )  [inline]

Reimplemented from csl::CVariable.

References setValue().

void csl::StaticVariable::setValue ( double  x  )  [inline]

Reimplemented from csl::CVariable.

References setValue().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8