#include <WaveGenerator.hxx>
Classes | |
class | EWaveType_eSine |
Public Member Functions | |
TData | GetXPos () const |
void | SetXPos (TData new_value) |
TData | GetXDelta () const |
void | SetXDelta (TData new_value) |
TData | GetAmplitude () const |
WaveGenerator () | |
WaveGenerator (const WaveGeneratorConfig &c) | |
virtual | ~WaveGenerator () |
const ProcessingConfig & | GetConfig () const |
Configuration access: | |
bool | Do (void) |
Supervised-mode Do function. | |
bool | Do (Audio &in) |
Standard Do function, with storage class references as arguments. | |
Public Attributes | |
OutPort< Audio > | Output |
Protected Attributes | |
WaveGeneratorConfig | mConfig |
Definition at line 78 of file WaveGenerator.hxx.
CLAM::WaveGenerator::WaveGenerator | ( | ) |
Definition at line 48 of file WaveGenerator.cxx.
References CLAM::Processing::Configure().
CLAM::WaveGenerator::WaveGenerator | ( | const WaveGeneratorConfig & | c | ) |
Definition at line 54 of file WaveGenerator.cxx.
CLAM::WaveGenerator::~WaveGenerator | ( | ) | [virtual] |
Definition at line 79 of file WaveGenerator.cxx.
bool CLAM::WaveGenerator::Do | ( | Audio & | in | ) |
Standard Do function, with storage class references as arguments.
This method implements the old conversor routines.
Definition at line 83 of file WaveGenerator.cxx.
bool CLAM::WaveGenerator::Do | ( | void | ) | [virtual] |
Supervised-mode Do function.
Implements CLAM::Processing.
Definition at line 98 of file WaveGenerator.cxx.
References CLAM::OutPort< Token >::GetData(), Output, and CLAM::OutPort< Token >::Produce().
TData CLAM::WaveGenerator::GetAmplitude | ( | ) | const [inline] |
Definition at line 129 of file WaveGenerator.hxx.
Referenced by CLAM::FillBuffer().
const ProcessingConfig& CLAM::WaveGenerator::GetConfig | ( | ) | const [inline, virtual] |
Configuration access:
Reimplemented from CLAM::Processing.
Definition at line 144 of file WaveGenerator.hxx.
References mConfig.
TData CLAM::WaveGenerator::GetXDelta | ( | ) | const [inline] |
Definition at line 119 of file WaveGenerator.hxx.
Referenced by CLAM::FillBuffer().
TData CLAM::WaveGenerator::GetXPos | ( | ) | const [inline] |
Definition at line 109 of file WaveGenerator.hxx.
Referenced by CLAM::FillBuffer().
void CLAM::WaveGenerator::SetXDelta | ( | TData | new_value | ) | [inline] |
Definition at line 124 of file WaveGenerator.hxx.
void CLAM::WaveGenerator::SetXPos | ( | TData | new_value | ) | [inline] |
Definition at line 114 of file WaveGenerator.hxx.
Referenced by CLAM::FillBuffer().
WaveGeneratorConfig CLAM::WaveGenerator::mConfig [protected] |
Definition at line 81 of file WaveGenerator.hxx.
Referenced by GetConfig().
Definition at line 134 of file WaveGenerator.hxx.
Referenced by Do().