csl::AddOp Class Reference

#include <BinaryOp.h>

Inheritance diagram for csl::AddOp:

csl::BinaryOp csl::Effect csl::UnitGenerator csl::Controllable csl::Model

List of all members.

Public Member Functions

 AddOp (UnitGenerator &op1, UnitGenerator &op2)
 The constructor for dual-UnitGenerator operation.
 AddOp (UnitGenerator &op1, float op2)
 Constructuctor for operating a UnitGenerator and a fixed float.
 AddOp (float op1, UnitGenerator &op2)
 Returns the next individual frame (for fixed values).

Protected Member Functions

void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 Function that implements the adding routine.


Detailed Description

AddOp -- A BinaryOp that adds two UnitGenerators or fixed constants together.

Constructor & Destructor Documentation

AddOp::AddOp ( UnitGenerator op1,
UnitGenerator op2 
)

The constructor for dual-UnitGenerator operation.

AddOp::AddOp ( UnitGenerator op1,
float  op2 
)

Constructuctor for operating a UnitGenerator and a fixed float.

AddOp::AddOp ( float  op1,
UnitGenerator op2 
)

Returns the next individual frame (for fixed values).


Member Function Documentation

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

Function that implements the adding routine.

Implements csl::BinaryOp.

References DECLARE_OPERAND_CONTROLS, LOAD_OPERAND_CONTROLS, csl::logMsg(), and UPDATE_OPERAND_CONTROLS.


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