csl::Clipper Class Reference

#include <Clipper.h>

Inheritance diagram for csl::Clipper:

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

List of all members.

Public Member Functions

 Clipper (UnitGenerator &input, float min=-1, float max=1, ClipperFlags flags=kBoth)
 Constructor takes the input UGen and optionally the flags, min and max.
 ~Clipper ()
void dump ()
 print the receiver for debugging
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)

Private Attributes

ClipperFlags mFlags
float mMin
float mMax


Detailed Description

Clipper class

Constructor & Destructor Documentation

Clipper::Clipper ( UnitGenerator input,
float  min = -1,
float  max = 1,
ClipperFlags  flags = kBoth 
)

Constructor takes the input UGen and optionally the flags, min and max.

Clipper::~Clipper (  ) 


Member Function Documentation

void Clipper::dump ( void   )  [virtual]

print the receiver for debugging

Reimplemented from csl::UnitGenerator.

References csl::logMsg().

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

really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times

Reimplemented from csl::UnitGenerator.

References csl::kBoth, csl::kMax, csl::kMin, and csl::logMsg().


Member Data Documentation

float csl::Clipper::mMin [private]

float csl::Clipper::mMax [private]


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