iso::synth::DecodeStrategy Class Reference

#include <iso_synth_decode_strategy.h>

Inherits iso::synth::Strategy.

Inherited by iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.

Inheritance diagram for iso::synth::DecodeStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DecodeStrategy (Buffer *pEncodeBuffer, QVector< math::Vector< sample > > &pSpeakerPositions) throw (SynthException)
 create decoding strategy
virtual ~DecodeStrategy ()
 destructor
virtual void process (Buffer *pBuffer)=0
 process buffer
virtual String info (bool pPropagate=false) const =0
 obtain textual strategy information

Protected Attributes

BuffermEncodeBuffer
 encode buffer
QVector< math::Vector< sample > > & mSpeakerPositions
 speaker positions

Constructor & Destructor Documentation

DecodeStrategy::DecodeStrategy ( Buffer pEncodeBuffer,
QVector< math::Vector< sample > > &  pSpeakerPositions 
) throw (SynthException)

create decoding strategy

Parameters:
pEncodeBuffer encode buffer
pSpeakerPositions speaker positions
Exceptions:
SynthException invalid ambisonics order, too few speakers

DecodeStrategy::~DecodeStrategy (  )  [virtual]

destructor


Member Function Documentation

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

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::Strategy.

Implemented in iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.

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

obtain textual strategy information

Parameters:
pPropagate if true, the info method of associated classes may be called
Returns:
String containing strategy information

Implements iso::synth::Strategy.

Implemented in iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.


Member Data Documentation

Buffer* iso::synth::DecodeStrategy::mEncodeBuffer [protected]

encode buffer

QVector< math::Vector< sample > >& iso::synth::DecodeStrategy::mSpeakerPositions [protected]

speaker positions


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