#include <iso_synth_control_fade_strategy_manager.h>
Inherits iso::synth::StrategyManager.
Inheritance diagram for iso::synth::ControlFadeStrategyManager:
Public Member Functions | |
ControlFadeStrategy * | createStrategy (ControlPort *pControlPort, FunctionType pFadeType, sample pFadeDuration, const Frame &pValues) throw (SynthException) |
create new control fade strategy | |
ControlFadeStrategy * | createStrategy (ControlPort *pControlPort, const String &pFadeTypeName, sample pFadeDuration, const Frame &pValues) throw (SynthException) |
create new control fade strategy | |
void | removeStrategy (ControlFadeStrategy *pStrategy) |
remove control fade strategy | |
Static Public Member Functions | |
static ControlFadeStrategyManager & | get () |
get singleton instance | |
static void | destroy () |
destroy singleton instance | |
Protected Member Functions | |
ControlFadeStrategyManager () | |
default constructor | |
void | createFadeWaveTables () |
creates standard fade wavetables | |
virtual | ~ControlFadeStrategyManager () |
destructor | |
Protected Attributes | |
QHash< FunctionType, String > | mFadeWaveTables |
hash table of function type to wave table names | |
Static Protected Attributes | |
static ControlFadeStrategyManager * | sControlFadeStrategyManager |
singleton class variable | |
static unsigned int | sFadeWaveTableSize |
fade wave table size |
ControlFadeStrategyManager::ControlFadeStrategyManager | ( | ) | [protected] |
default constructor
ControlFadeStrategyManager::~ControlFadeStrategyManager | ( | ) | [protected, virtual] |
destructor
ControlFadeStrategyManager & ControlFadeStrategyManager::get | ( | ) | [static] |
void ControlFadeStrategyManager::destroy | ( | ) | [static] |
ControlFadeStrategy * ControlFadeStrategyManager::createStrategy | ( | ControlPort * | pControlPort, | |
FunctionType | pFadeType, | |||
sample | pFadeDuration, | |||
const Frame & | pValues | |||
) | throw (SynthException) |
create new control fade strategy
pControlPort | associated control port | |
pFadeType | function type of fade | |
pFadeDuration | fade duration in milisecs | |
pValues | initial values of fade strategy |
SynthException | no such fade type |
ControlFadeStrategy * ControlFadeStrategyManager::createStrategy | ( | ControlPort * | pControlPort, | |
const String & | pFadeTypeName, | |||
sample | pFadeDuration, | |||
const Frame & | pValues | |||
) | throw (SynthException) |
create new control fade strategy
pControlPort | associated control port | |
pFadeTypeName | name of fade type | |
pFadeDuration | fade duration in milisecs | |
pValues | initial values of fade strategy |
SynthException | no such fade type |
void ControlFadeStrategyManager::removeStrategy | ( | ControlFadeStrategy * | pStrategy | ) |
remove control fade strategy
pStrategy | control fade strategy to be removed |
void ControlFadeStrategyManager::createFadeWaveTables | ( | ) | [protected] |
creates standard fade wavetables
ControlFadeStrategyManager * ControlFadeStrategyManager::sControlFadeStrategyManager [static, protected] |
singleton class variable
QHash<FunctionType, String> iso::synth::ControlFadeStrategyManager::mFadeWaveTables [protected] |
hash table of function type to wave table names
unsigned int ControlFadeStrategyManager::sFadeWaveTableSize [static, protected] |
fade wave table size