#include <WaveGenerator.hxx>
Public Member Functions | |
WaveGeneratorConfig () | |
WaveGeneratorConfig (const WaveGeneratorConfig &prototype, const bool shareData=false, const bool deep=true) | |
__COMMON_DYNAMIC_TYPE (WaveGeneratorConfig, 6) | |
__COMMON_DYN_ATTRIBUTE (0, public, EWaveType, WaveType) protected | |
bool | LoadWaveType (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (1, public, TData, Frequency) protected | |
bool | LoadFrequency (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (2, public, TData, Amplitude) protected | |
bool | LoadAmplitude (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (3, public, TData, Phase) protected | |
bool | LoadPhase (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (4, public, TData, SampleRate) protected | |
bool | LoadSampleRate (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (5, public, int, FrameSize) protected | |
bool | LoadFrameSize (CLAM::Storage &s) |
Protected Member Functions | |
void | DefaultInit (void) |
The concrete dynamic type constructor calls DefaultInit(). |
Definition at line 64 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::WaveGeneratorConfig | ( | ) | [inline] |
Definition at line 67 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::WaveGeneratorConfig | ( | const WaveGeneratorConfig & | prototype, | |
const bool | shareData = false , |
|||
const bool | deep = true | |||
) | [inline] |
Definition at line 67 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 5 | , | |
public | , | |||
int | , | |||
FrameSize | ||||
) | [inline] |
Definition at line 73 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 4 | , | |
public | , | |||
TData | , | |||
SampleRate | ||||
) | [inline] |
Definition at line 72 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 3 | , | |
public | , | |||
TData | , | |||
Phase | ||||
) | [inline] |
Definition at line 71 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 2 | , | |
public | , | |||
TData | , | |||
Amplitude | ||||
) | [inline] |
Definition at line 70 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
TData | , | |||
Frequency | ||||
) | [inline] |
Definition at line 69 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
EWaveType | , | |||
WaveType | ||||
) | [inline] |
Definition at line 68 of file WaveGenerator.hxx.
CLAM::WaveGeneratorConfig::__COMMON_DYNAMIC_TYPE | ( | WaveGeneratorConfig | , | |
6 | ||||
) |
void CLAM::WaveGeneratorConfig::DefaultInit | ( | void | ) | [protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 26 of file WaveGenerator.cxx.
References CLAM::EWaveType::eSine, and CLAM::DynamicType::UpdateData().
bool CLAM::WaveGeneratorConfig::LoadAmplitude | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 70 of file WaveGenerator.hxx.
bool CLAM::WaveGeneratorConfig::LoadFrameSize | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 73 of file WaveGenerator.hxx.
bool CLAM::WaveGeneratorConfig::LoadFrequency | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 69 of file WaveGenerator.hxx.
bool CLAM::WaveGeneratorConfig::LoadPhase | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 71 of file WaveGenerator.hxx.
bool CLAM::WaveGeneratorConfig::LoadSampleRate | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 72 of file WaveGenerator.hxx.
bool CLAM::WaveGeneratorConfig::LoadWaveType | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 68 of file WaveGenerator.hxx.