#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:
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 | |
Buffer * | mAudioBuffer |
mono audio buffer | |
Buffer * | mPositionBuffer |
sound position buffer |
create encoding strategy
pAudioBuffer | audio buffer | |
pPositionBuffer | position buffer |
EncodeStrategy::~EncodeStrategy | ( | ) | [virtual] |
destructor
EncodeStrategy::EncodeStrategy | ( | ) | [protected] |
default constructor
virtual void iso::synth::EncodeStrategy::process | ( | Buffer * | pBuffer | ) | [pure virtual] |
process buffer
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
pPropagate | if true, the info method of associated classes may be called |
Implements iso::synth::Strategy.
Implemented in iso::synth::Encode2DStrategy, and iso::synth::Encode3DStrategy.
Buffer* iso::synth::EncodeStrategy::mAudioBuffer [protected] |
mono audio buffer
Buffer* iso::synth::EncodeStrategy::mPositionBuffer [protected] |
sound position buffer