csl::DynamicVariable Class Reference

#include <Variable.h>

Inheritance diagram for csl::DynamicVariable:

csl::CVariable csl::Effect csl::UnitGenerator csl::Controllable csl::Model

List of all members.

Public Member Functions

 DynamicVariable (UnitGenerator &vox, float val)
 Constructors.
 DynamicVariable (UnitGenerator &vox, double val)
 DynamicVariable (float val, UnitGenerator &vox)
 DynamicVariable (float val, UnitGenerator &vox, VOperator m)
 DynamicVariable (UnitGenerator &vox, float val, VOperator m)
 DynamicVariable (int val, UnitGenerator &vox)
 DynamicVariable (UnitGenerator &vox, int val)
 DynamicVariable (int val, UnitGenerator &vox, VOperator m)
 DynamicVariable (UnitGenerator &vox, int val, VOperator m)
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 my main operations
void setValue (float x)
void setValue (int x)
void setValue (double x)

Protected Attributes

VOperator mMode
 the operation I perform '+', '*', etc.


Detailed Description

The DynamicVariable class is a changing variable that can perform an operation (e.g., scaling) on another unit generator

Constructor & Destructor Documentation

csl::DynamicVariable::DynamicVariable ( UnitGenerator vox,
float  val 
) [inline]

Constructors.

csl::DynamicVariable::DynamicVariable ( UnitGenerator vox,
double  val 
) [inline]

csl::DynamicVariable::DynamicVariable ( float  val,
UnitGenerator vox 
) [inline]

csl::DynamicVariable::DynamicVariable ( float  val,
UnitGenerator vox,
VOperator  m 
) [inline]

csl::DynamicVariable::DynamicVariable ( UnitGenerator vox,
float  val,
VOperator  m 
) [inline]

csl::DynamicVariable::DynamicVariable ( int  val,
UnitGenerator vox 
) [inline]

csl::DynamicVariable::DynamicVariable ( UnitGenerator vox,
int  val 
) [inline]

csl::DynamicVariable::DynamicVariable ( int  val,
UnitGenerator vox,
VOperator  m 
) [inline]

csl::DynamicVariable::DynamicVariable ( UnitGenerator vox,
int  val,
VOperator  m 
) [inline]


Member Function Documentation

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

my main operations

Reimplemented from csl::UnitGenerator.

References csl::kOpDivided, csl::kOpMinus, csl::kOpNegated, csl::kOpPlus, and csl::kOpTimes.

void csl::DynamicVariable::setValue ( float  x  )  [inline]

Reimplemented from csl::CVariable.

Referenced by setValue().

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

Reimplemented from csl::CVariable.

References setValue().

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

Reimplemented from csl::CVariable.

References setValue().


Member Data Documentation

the operation I perform '+', '*', etc.


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