#include <iso_synth_ctf_unit.h>
Inherits iso::synth::InputUnit.
Inheritance diagram for iso::synth::CTFUnit:
Public Member Functions | |
CTFUnit () | |
default constructor | |
CTFUnit (const String &pName) | |
name constructor | |
CTFUnit (const String &pName, unsigned int pFrameCount, unsigned int pRate) throw (SynthException) | |
name and parameter based contructor | |
CTFUnit (const String &pName, const CTFUnit &pUnit) | |
name & copy constructor | |
CTFUnit (const data::Values &pValues) throw (SynthException) | |
values based constructor | |
virtual | ~CTFUnit () |
destructor | |
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 ports | |
Protected Attributes | |
ControlPort * | mControlPort |
control port | |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of multiply units created so far | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const CTFUnit &pUnit) |
print unit information |
multi channel single frame buffer on its control port into a single channel multi frame buffer at its output port
control ports:
frames : multi channel single frame port
Created by Daniel Bisig on 4/23/08.
CTFUnit::CTFUnit | ( | ) |
default constructor
CTFUnit::CTFUnit | ( | const String & | pName | ) |
name constructor
pName | unit name |
CTFUnit::CTFUnit | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pRate | |||
) | throw (SynthException) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pRate | samping rate |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
CTFUnit::CTFUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
CTFUnit::~CTFUnit | ( | ) | [virtual] |
destructor
void CTFUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
processes buffer
pBuffer | buffer to process |
Reimplemented from iso::synth::InputUnit.
String CTFUnit::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.
void CTFUnit::init | ( | ) | [protected] |
initializes ports
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const CTFUnit & | pUnit | |||
) | [friend] |
print unit information
const String CTFUnit::sClassName [static] |
unsigned int CTFUnit::sUnitCount [static, protected] |
ControlPort* iso::synth::CTFUnit::mControlPort [protected] |
control port