iso::synth::EncodeStrategy Class Reference

#include <iso_synth_encode_strategy.h>

Inherits iso::synth::Strategy.

Inherited by iso::synth::Encode2DStrategy, and iso::synth::Encode3DStrategy.

Inheritance diagram for iso::synth::EncodeStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EncodeStrategy (Buffer *pAudioBuffer, Buffer *pPositionBuffer)
 create encoding strategy
virtual ~EncodeStrategy ()
 destructor
virtual void process (Buffer *pBuffer)=0
 process buffer
virtual String info (bool pPropagate=false) const =0
 obtain textual strategy information

Protected Member Functions

 EncodeStrategy ()
 default constructor

Protected Attributes

BuffermAudioBuffer
 mono audio buffer
BuffermPositionBuffer
 sound position buffer

Constructor & Destructor Documentation

EncodeStrategy::EncodeStrategy ( Buffer pAudioBuffer,
Buffer pPositionBuffer 
)

create encoding strategy

Parameters:
pAudioBuffer audio buffer
pPositionBuffer position buffer

EncodeStrategy::~EncodeStrategy (  )  [virtual]

destructor

EncodeStrategy::EncodeStrategy (  )  [protected]

default constructor


Member Function Documentation

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

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::Strategy.

Implemented in iso::synth::Encode2DStrategy, and iso::synth::Encode3DStrategy.

virtual String iso::synth::EncodeStrategy::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::Encode2DStrategy, and iso::synth::Encode3DStrategy.


Member Data Documentation

Buffer* iso::synth::EncodeStrategy::mAudioBuffer [protected]

mono audio buffer

Buffer* iso::synth::EncodeStrategy::mPositionBuffer [protected]

sound position buffer


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