#include <iso_synth_abs_unit.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::AbsUnit:
Public Member Functions | |
AbsUnit () | |
default constructor | |
AbsUnit (const String &pName, FanInType pFanInType=FANIN_ADD) | |
name constructor | |
AbsUnit (unsigned int pChannelCount, FanInType pFanInType=FANIN_ADD) | |
parameter based contructor | |
AbsUnit (const String &pName, unsigned int pChannelCount, FanInType pFanInType=FANIN_ADD) | |
parameter based contructor | |
AbsUnit (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
parameter based contructor | |
AbsUnit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
name and parameter based contructor | |
AbsUnit (const Unit &pUnit) | |
copy constructor | |
AbsUnit (const String &pName, const Unit &pUnit) | |
name & copy constructor | |
virtual | ~AbsUnit () |
destructor | |
void | setOffset (Frame pOffset) |
virtual void | process (Buffer *pBuffer) throw (SynthException) |
processes buffer | |
Static Public Attributes | |
static const String | sClassName |
default name | |
Protected Member Functions | |
void | init () |
initialize members | |
Protected Attributes | |
Frame | mOffsets |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of units created so far |
absolute value of an input signal
SwitchPorts:
name: offset channelCount: n resizable: false function: setOffset
Created by John Flury on 28/03/08.
Copyright 2008 I.S.O. All rights reserved.
AbsUnit::AbsUnit | ( | ) |
default constructor
name constructor
pName | unit name | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
AbsUnit::AbsUnit | ( | unsigned int | pChannelCount, | |
FanInType | pFanInType = FANIN_ADD | |||
) |
parameter based contructor
pChannelCount | number of channels | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
AbsUnit::AbsUnit | ( | const String & | pName, | |
unsigned int | pChannelCount, | |||
FanInType | pFanInType = FANIN_ADD | |||
) |
parameter based contructor
pName | unit name | |
pChannelCount | number of channels | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
AbsUnit::AbsUnit | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
FanInType | pFanInType = FANIN_ADD | |||
) | throw (SynthException) |
parameter based contructor
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
AbsUnit::AbsUnit | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
FanInType | pFanInType = FANIN_ADD | |||
) | throw (SynthException) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
AbsUnit::AbsUnit | ( | const Unit & | pUnit | ) |
copy constructor
pUnit | unit to copy properties from |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
AbsUnit::~AbsUnit | ( | ) | [virtual] |
destructor
void AbsUnit::setOffset | ( | Frame | pOffset | ) |
void AbsUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
void AbsUnit::init | ( | ) | [protected] |
initialize members
const String AbsUnit::sClassName [static] |
unsigned int AbsUnit::sUnitCount [static, protected] |
Frame iso::synth::AbsUnit::mOffsets [protected] |