csl::MulOp Class Reference

#include <BinaryOp.h>

Inheritance diagram for csl::MulOp:

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

List of all members.

Public Member Functions

 MulOp (UnitGenerator &op1, UnitGenerator &op2)
 The constructor for dual-UnitGenerator operation.
 MulOp (UnitGenerator &op1, float op2)
 Constructuctor for operating a UnitGenerator and a fixed float.
 MulOp (float op2, UnitGenerator &op1)

Protected Member Functions

void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)
 Returns the next individual frame (for fixed values).


Detailed Description

MulOp -- A BinaryOp that multiplies two UnitGenerators or fixed constants together, sample-by-sample.

Constructor & Destructor Documentation

MulOp::MulOp ( UnitGenerator op1,
UnitGenerator op2 
)

The constructor for dual-UnitGenerator operation.

MulOp::MulOp ( UnitGenerator op1,
float  op2 
)

Constructuctor for operating a UnitGenerator and a fixed float.

MulOp::MulOp ( float  op2,
UnitGenerator op1 
)


Member Function Documentation

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

Returns the next individual frame (for fixed values).

Function that implements the multiplying 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