#include <iso_synth_eta_unit.h>
Inherits iso::synth::InputUnit.
Inherited by iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
Inheritance diagram for iso::synth::ETAUnit:
Public Member Functions | |
ETAUnit () | |
default constructor | |
ETAUnit (const String &pName) | |
name constructor | |
ETAUnit (unsigned int pChannelCount) | |
default constructor | |
ETAUnit (const String &pName, unsigned int pChannelCount) | |
name constructor | |
ETAUnit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate) throw (SynthException) | |
name and parameter based contructor | |
ETAUnit (const ETAUnit &pUnit) | |
copy constructor | |
ETAUnit (const String &pName, const ETAUnit &pUnit) | |
name & copy constructor | |
ETAUnit (const data::Values &pValues) throw (SynthException) | |
values based constructor | |
virtual | ~ETAUnit () |
destructor | |
void | setValues (Frame pTargetValues) |
set values | |
virtual void | process (Buffer *pBuffer) throw (SynthException) |
processes buffer | |
virtual String | info (bool pPropagate=false, bool pShowPorts=true) const |
obtain textual unit information | |
Static Public Attributes | |
static const String | sClassName |
default name | |
Protected Member Functions | |
void | init () |
initializes unit | |
Protected Attributes | |
Frame | mTargetValues |
total number of units created so far | |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of units created so far |
values into continuous audio values
switch ports:
event : event receive port
Created by Daniel Bisig & John Flury on 03/12/08. Copyright 2006 Daniel Bisig All rights reserved.
ETAUnit::ETAUnit | ( | ) |
default constructor
ETAUnit::ETAUnit | ( | const String & | pName | ) |
name constructor
pName | unit name |
ETAUnit::ETAUnit | ( | unsigned int | pChannelCount | ) |
default constructor
pChannelCount | number of channels |
ETAUnit::ETAUnit | ( | const String & | pName, | |
unsigned int | pChannelCount | |||
) |
name constructor
pName | unit name | |
pChannelCount | number of channels |
ETAUnit::ETAUnit | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pChannelCount, | |||
unsigned int | pRate | |||
) | throw (SynthException) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate |
ETAUnit::ETAUnit | ( | const ETAUnit & | pUnit | ) |
copy constructor
pUnit | unit to copy properties from |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
ETAUnit::ETAUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
ETAUnit::~ETAUnit | ( | ) | [virtual] |
destructor
void ETAUnit::setValues | ( | Frame | pTargetValues | ) |
void ETAUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
processes buffer
pBuffer | buffer to process |
Reimplemented from iso::synth::InputUnit.
Reimplemented in iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
base::String ETAUnit::info | ( | bool | pPropagate = false , |
|
bool | pShowPorts = true | |||
) | const [virtual] |
obtain textual unit information
pPropagate | if true, the unit calls the info methods of its input ports | |
pShowPorts | print port information |
Reimplemented from iso::synth::InputUnit.
Reimplemented in iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
void ETAUnit::init | ( | ) | [protected] |
initializes unit
Reimplemented in iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
const base::String ETAUnit::sClassName [static] |
default name
Reimplemented from iso::synth::InputUnit.
Reimplemented in iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
unsigned int ETAUnit::sUnitCount [static, protected] |
total number of units created so far
Reimplemented from iso::synth::InputUnit.
Reimplemented in iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, and iso::synth::ETAFadeUnit.
Frame iso::synth::ETAUnit::mTargetValues [protected] |
total number of units created so far