csl::FanOut Class Reference

#include <CSL_Core.h>

Inheritance diagram for csl::FanOut:

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

List of all members.

Public Member Functions

 FanOut (UnitGenerator &in, unsigned taps)
 ~FanOut ()
virtual void nextBuffer (Buffer &outputBuffer) throw (CException)

Protected Attributes

Buffer mBuffer
 my temp buffer
unsigned mOutputs
 the number of outputs
unsigned mCurrent
 the current output

Detailed Description

A fan-out generator for DSP graphs with loops This takes a single input, and provides mChannels outputs; it only calls its input every mChannels frames. This behavior is now standard on UnitGenerators, using their mOutputs UGenVector (see UnitGenerators::nextBuffer).

Constructor & Destructor Documentation

FanOut::FanOut ( UnitGenerator in,
unsigned  taps 


References csl::logMsg().

csl::FanOut::~FanOut (  )  [inline]

Member Function Documentation

void FanOut::nextBuffer ( Buffer outputBuffer  )  throw (CException) [virtual]

get a buffer of Frames -- this is the core CSL "pull" function; the given buffer can be written into, and a changed() message is sent.

Reimplemented from csl::UnitGenerator.

Reimplemented in csl::Splitter.

References csl::Effect::pullInput().

Member Data Documentation

my temp buffer

unsigned csl::FanOut::mOutputs [protected]

the number of outputs

Reimplemented from csl::UnitGenerator.

unsigned csl::FanOut::mCurrent [protected]

the current output

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