#include <Variable.h>

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) |
| csl::StaticVariable::StaticVariable | ( | float | x | ) | [inline] |
Constructors.
| csl::StaticVariable::StaticVariable | ( | int | x | ) | [inline] |
| csl::StaticVariable::StaticVariable | ( | double | x | ) | [inline] |
| bool csl::StaticVariable::isFixed | ( | ) | [inline, virtual] |
| void StaticVariable::nextBuffer | ( | Buffer & | outputBuffer, | |
| unsigned | outBufNum | |||
| ) | throw (CException) [virtual] |
| float csl::StaticVariable::value | ( | ) | [inline, virtual] |
| 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] |
| void csl::StaticVariable::setValue | ( | double | x | ) | [inline] |
1.5.8