iso::synth::FTCUnit Class Reference

#include <iso_synth_ftc_unit.h>

Inherits iso::synth::InputUnit.

Inheritance diagram for iso::synth::FTCUnit:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::FTCUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FTCUnit ()
 default constructor
 FTCUnit (const String &pName)
 name constructor
 FTCUnit (unsigned int pChannelCount) throw (SynthException)
 parameter based constructor
 FTCUnit (const String &pName, unsigned int pChannelCount) throw (SynthException)
 parameter based constructor
 FTCUnit (const String &pName, unsigned int pChannelCount, unsigned int pRate) throw (SynthException)
 name and parameter based contructor
 FTCUnit (const String &pName, const FTCUnit &pUnit)
 name & copy constructor
 FTCUnit (const data::Values &pValues) throw (SynthException)
 values based constructor
virtual ~FTCUnit ()
 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

ControlPortmControlPort
 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 FTCUnit &pUnit)
 print unit information

Constructor & Destructor Documentation

FTCUnit::FTCUnit (  ) 

default constructor

FTCUnit::FTCUnit ( const String pName  ) 

name constructor

Parameters:
pName unit name

FTCUnit::FTCUnit ( unsigned int  pChannelCount  )  throw (SynthException)

parameter based constructor

Parameters:
pChannelCount number of channels
Exceptions:
SynthException number of channels must be a power of 2

FTCUnit::FTCUnit ( const String pName,
unsigned int  pChannelCount 
) throw (SynthException)

parameter based constructor

Parameters:
pName unit name
pChannelCount number of channels
Exceptions:
SynthException number of channels must be a power of 2

FTCUnit::FTCUnit ( const String pName,
unsigned int  pChannelCount,
unsigned int  pRate 
) throw (SynthException)

name and parameter based contructor

Parameters:
pName unit name
pChannelCount number of channels
pRate samping rate
Exceptions:
SynthException number of channels must be a power of 2

FTCUnit::FTCUnit ( const String pName,
const FTCUnit pUnit 
)

name & copy constructor

Parameters:
pName unit name
pUnit unit to copy properties from
constructor copies frameCount, channelCount and rate but not unit name

FTCUnit::FTCUnit ( const data::Values &  pValues  )  throw (SynthException)

values based constructor

Parameters:
pValues unit values
Exceptions:
SynthException failed to create unit
pValues structure & data types: 0: const String& : unit name 1: unsigned int : number of channels 2: unsigned int : samping rate

FTCUnit::~FTCUnit (  )  [virtual]

destructor


Member Function Documentation

void FTCUnit::process ( Buffer pBuffer  )  throw (SynthException) [virtual]

processes buffer

Parameters:
pBuffer buffer to process
two step processing procedure:
1. calls process function of all it's input ports
2. as soon as these other processing functions return, it changes the buffer according to it's function

Reimplemented from iso::synth::InputUnit.

String FTCUnit::info ( bool  pPropagate = false,
bool  pShowPorts = true 
) const [virtual]

obtain textual unit information

Parameters:
pPropagate if true, the unit calls the info methods of its input ports
pShowPorts print port information
Returns:
String containing unit information

Reimplemented from iso::synth::InputUnit.

void FTCUnit::init (  )  [protected]

initializes ports


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const FTCUnit pUnit 
) [friend]

print unit information


Member Data Documentation

const String FTCUnit::sClassName [static]

default name

Reimplemented from iso::synth::InputUnit.

unsigned int FTCUnit::sUnitCount [static, protected]

total number of multiply units created so far

Reimplemented from iso::synth::InputUnit.

ControlPort* iso::synth::FTCUnit::mControlPort [protected]

control port


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:46 2011 for synth by  doxygen 1.5.1