#include <iso_synth_add_unit.h>
Inherits iso::synth::BinaryOpUnit.
Inheritance diagram for iso::synth::AddUnit:


Public Member Functions | |
| AddUnit () | |
| default constructor | |
| AddUnit (const String &pName) | |
| name constructor | |
| AddUnit (unsigned int pChannelCount) | |
| parameter based constructor | |
| AddUnit (const String &pName, unsigned int pChannelCount) | |
| parameter based constructor | |
| AddUnit (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
| parameter based constructor | |
| AddUnit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
| name and parameter based constructor | |
| AddUnit (const Unit &pUnit) | |
| copy constructor | |
| AddUnit (const String &pName, const Unit &pUnit) | |
| name & copy constructor | |
| AddUnit (const data::Values &pValues) throw (SynthException) | |
| values based constructor | |
| ~AddUnit () | |
| 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 | |
Static Protected Attributes | |
| static unsigned int | sUnitCount |
| total number of multiply units created so far | |
Friends | |
| std::ostream & | operator<< (std::ostream &pOstream, const AddUnit &pUnit) |
| print unit information | |
to signal data
Created by Daniel Bisig on 7/1/06. Copyright 2006 Daniel Bisig All rights reserved.
| AddUnit::AddUnit | ( | ) |
default constructor
| AddUnit::AddUnit | ( | const String & | pName | ) |
name constructor
| pName | unit name |
| AddUnit::AddUnit | ( | unsigned int | pChannelCount | ) |
parameter based constructor
| pChannelCount | number of channels |
| AddUnit::AddUnit | ( | const String & | pName, | |
| unsigned int | pChannelCount | |||
| ) |
parameter based constructor
| pName | unit name | |
| pChannelCount | number of channels |
| AddUnit::AddUnit | ( | unsigned int | pFrameCount, | |
| unsigned int | pChannelCount, | |||
| unsigned int | pRate, | |||
| FanInType | pFanInType = FANIN_ADD | |||
| ) | throw (SynthException) |
parameter based constructor
| 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 |
| AddUnit::AddUnit | ( | const String & | pName, | |
| unsigned int | pFrameCount, | |||
| unsigned int | pChannelCount, | |||
| unsigned int | pRate, | |||
| FanInType | pFanInType = FANIN_ADD | |||
| ) | throw (SynthException) |
name and parameter based constructor
| 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 |
| AddUnit::AddUnit | ( | const Unit & | pUnit | ) |
copy constructor
| pUnit | unit to copy properties from |
name & copy constructor
| pName | unit name | |
| pUnit | unit to copy properties from |
| AddUnit::AddUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
| pValues | unit values |
| SynthException | failed to create unit |
| AddUnit::~AddUnit | ( | ) |
destructor
| void AddUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
| String AddUnit::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::ProcessUnit.
| std::ostream& operator<< | ( | std::ostream & | pOstream, | |
| const AddUnit & | pUnit | |||
| ) | [friend] |
print unit information
const String AddUnit::sClassName [static] |
unsigned int AddUnit::sUnitCount [static, protected] |
1.5.1