#include <iso_synth_encoder.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::Encoder:


Public Member Functions | |
| Encoder () | |
| default constructor | |
| Encoder (const String &pName) | |
| name constructor | |
| Encoder (unsigned int pAmbiOrder, unsigned int pAmbiDim) throw (SynthException) | |
| default constructor | |
| Encoder (const String &pName, unsigned int pAmbiOrder, unsigned int pAmbiDim) throw (SynthException) | |
| default constructor | |
| Encoder (unsigned int pAmbiOrder, unsigned int pAmbiDim, unsigned int pFrameCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
| name and parameter based contructor | |
| Encoder (const String &pName, unsigned int pAmbiOrder, unsigned int pAmbiDim, unsigned int pFrameCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
| name and parameter based contructor | |
| Encoder (const Encoder &pUnit) | |
| copy constructor | |
| Encoder (const String &pName, const Encoder &pUnit) | |
| name & copy constructor | |
| Encoder (const data::Values &pValues) throw (SynthException) | |
| values based constructor | |
| virtual | ~Encoder () |
| 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 | |
| unsigned int | mAmbiOrder |
| ambisonics order | |
| unsigned int | mAmbiDim |
| ambisonics dimension | |
| ControlPort * | mPosition |
| position control port | |
| EncodeStrategy * | mStrategy |
| ambisonics encoding strategy | |
Static Protected Attributes | |
| static unsigned int | sUnitCount |
| total number of units created so far | |
Friends | |
| std::ostream & | operator<< (std::ostream &pOstream, const Encoder &pUnit) |
| print unit information | |
| Encoder::Encoder | ( | ) |
default constructor
| Encoder::Encoder | ( | const String & | pName | ) |
name constructor
| pName | unit name |
| Encoder::Encoder | ( | unsigned int | pAmbiOrder, | |
| unsigned int | pAmbiDim | |||
| ) | throw (SynthException) |
default constructor
| pAmbiOrder | ambisonics order ( > 0 ) | |
| pAmbiDim | ambisonics dimension ( 2 or 3 ) |
| SynthException | ambisonics order < 1 pr amisonics dimenson != 2 & != 3 |
| Encoder::Encoder | ( | const String & | pName, | |
| unsigned int | pAmbiOrder, | |||
| unsigned int | pAmbiDim | |||
| ) | throw (SynthException) |
default constructor
| pName | unit name | |
| pAmbiOrder | ambisonics order ( > 0 ) | |
| pAmbiDim | ambisonics dimension ( 2 or 3 ) |
| SynthException | ambisonics order < 1 pr amisonics dimenson != 2 & != 3 |
| Encoder::Encoder | ( | unsigned int | pAmbiOrder, | |
| unsigned int | pAmbiDim, | |||
| unsigned int | pFrameCount, | |||
| unsigned int | pRate, | |||
| FanInType | pFanInType = FANIN_ADD | |||
| ) | throw (SynthException) |
name and parameter based contructor
| pAmbiOrder | ambisonics order ( > 0 ) | |
| pAmbiDim | ambisonics dimension ( 2 or 3 ) | |
| pFrameCount | number of frames | |
| pRate | samping rate | |
| pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
| Encoder::Encoder | ( | const String & | pName, | |
| unsigned int | pAmbiOrder, | |||
| unsigned int | pAmbiDim, | |||
| unsigned int | pFrameCount, | |||
| unsigned int | pRate, | |||
| FanInType | pFanInType = FANIN_ADD | |||
| ) | throw (SynthException) |
name and parameter based contructor
| pName | unit name | |
| pAmbiOrder | ambisonics order ( > 0 ) | |
| pAmbiDim | ambisonics dimension ( 2 or 3 ) | |
| pFrameCount | number of frames | |
| pRate | samping rate | |
| pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
| Encoder::Encoder | ( | const Encoder & | pUnit | ) |
copy constructor
| pUnit | unit to copy properties from |
name & copy constructor
| pName | unit name | |
| pUnit | unit to copy properties from |
| Encoder::Encoder | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
| pValues | unit values |
| SynthException | failed to create unit |
| Encoder::~Encoder | ( | ) | [virtual] |
destructor
| void Encoder::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
processes buffer
| pBuffer | buffer to process |
Reimplemented from iso::synth::ProcessUnit.
| base::String Encoder::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.
| void Encoder::init | ( | ) | [protected] |
initializes ports
| std::ostream& operator<< | ( | std::ostream & | pOstream, | |
| const Encoder & | pUnit | |||
| ) | [friend] |
print unit information
const base::String Encoder::sClassName [static] |
unsigned int Encoder::sUnitCount [static, protected] |
unsigned int iso::synth::Encoder::mAmbiOrder [protected] |
ambisonics order
unsigned int iso::synth::Encoder::mAmbiDim [protected] |
ambisonics dimension
ControlPort* iso::synth::Encoder::mPosition [protected] |
position control port
EncodeStrategy* iso::synth::Encoder::mStrategy [protected] |
ambisonics encoding strategy
1.5.1