Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   FAQ   Tutorial


Function Class Reference

#include <Function.h>

Inheritance diagram for Function:

Stk BowTable JetTable ReedTable List of all members.

Detailed Description

STK abstract function parent class.

This class provides common functionality for STK classes which implement tables or other types of input to output function mappings.

by Perry R. Cook and Gary P. Scavone, 1995 - 2007.


Public Member Functions

 Function ()
 Class constructor.
virtual ~Function ()
 Class destructor.
virtual StkFloat lastOut () const
 Return the last output value.
StkFloat tick (StkFloat input)
 Take one sample input and compute one sample of output.
virtual StkFramestick (StkFrames &frames, unsigned int channel=0)
 Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.


Member Function Documentation

virtual StkFrames& Function::tick StkFrames frames,
unsigned int  channel = 0
[virtual]
 

Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.


The documentation for this class was generated from the following file:
The Synthesis ToolKit in C++ (STK)
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.