iso::synth::PortConnectionStrategy Class Reference

manages process calls and buffer backups for ports connected to multiple links More...

#include <iso_synth_port_connection_strategy.h>

Inherits iso::synth::Strategy.

Inherited by iso::synth::PortFanInStrategy, and iso::synth::PortFanOutStrategy.

Inheritance diagram for iso::synth::PortConnectionStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PortConnectionStrategy (unsigned int pFrameCount, unsigned int pChannelCount, AudioPort *pPort)
 parameter based constructor
virtual ~PortConnectionStrategy ()
 destructor
virtual void process (Buffer *pBuffer)=0
 process buffer
virtual String info (bool pPropagate=false) const =0
 obtain textual link conversion strategy information

Protected Member Functions

 PortConnectionStrategy ()

Protected Attributes

BuffermBuffer
 internal backup buffer
AudioPortmPort
 port, this process strategy is part of

Detailed Description

manages process calls and buffer backups for ports connected to multiple links

calls and buffer backups for ports connected to multiple links

Created by Daniel Bisig on 6/23/06.


Constructor & Destructor Documentation

PortConnectionStrategy::PortConnectionStrategy ( unsigned int  pFrameCount,
unsigned int  pChannelCount,
AudioPort pPort 
)

parameter based constructor

Parameters:
pFrameCount number of frames of internal backup buffer
pChannelCount numbder of channels of internal backup buffer
pPort port, this link conversion strategy is part of

PortConnectionStrategy::~PortConnectionStrategy (  )  [virtual]

destructor

PortConnectionStrategy::PortConnectionStrategy (  )  [protected]


Member Function Documentation

virtual void iso::synth::PortConnectionStrategy::process ( Buffer pBuffer  )  [pure virtual]

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::Strategy.

Implemented in iso::synth::PortAddStrategy, iso::synth::PortAverageStrategy, and iso::synth::PortFanOutStrategy.

virtual String iso::synth::PortConnectionStrategy::info ( bool  pPropagate = false  )  const [pure virtual]

obtain textual link conversion strategy information

Parameters:
pPropagate ignored
Returns:
String containing unit information

Implements iso::synth::Strategy.

Implemented in iso::synth::PortAddStrategy, iso::synth::PortAverageStrategy, and iso::synth::PortFanOutStrategy.


Member Data Documentation

Buffer* iso::synth::PortConnectionStrategy::mBuffer [protected]

internal backup buffer

AudioPort* iso::synth::PortConnectionStrategy::mPort [protected]

port, this process strategy is part of


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