iso::synth::ControlFadeStrategyManager Class Reference

#include <iso_synth_control_fade_strategy_manager.h>

Inherits iso::synth::StrategyManager.

Inheritance diagram for iso::synth::ControlFadeStrategyManager:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

ControlFadeStrategycreateStrategy (ControlPort *pControlPort, FunctionType pFadeType, sample pFadeDuration, const Frame &pValues) throw (SynthException)
 create new control fade strategy
ControlFadeStrategycreateStrategy (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 ControlFadeStrategyManagerget ()
 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, StringmFadeWaveTables
 hash table of function type to wave table names

Static Protected Attributes

static ControlFadeStrategyManagersControlFadeStrategyManager
 singleton class variable
static unsigned int sFadeWaveTableSize
 fade wave table size

Constructor & Destructor Documentation

ControlFadeStrategyManager::ControlFadeStrategyManager (  )  [protected]

default constructor

ControlFadeStrategyManager::~ControlFadeStrategyManager (  )  [protected, virtual]

destructor


Member Function Documentation

ControlFadeStrategyManager & ControlFadeStrategyManager::get (  )  [static]

get singleton instance

Reimplemented from iso::synth::StrategyManager.

void ControlFadeStrategyManager::destroy (  )  [static]

destroy singleton instance

Reimplemented from iso::synth::StrategyManager.

ControlFadeStrategy * ControlFadeStrategyManager::createStrategy ( ControlPort pControlPort,
FunctionType  pFadeType,
sample  pFadeDuration,
const Frame pValues 
) throw (SynthException)

create new control fade strategy

Parameters:
pControlPort associated control port
pFadeType function type of fade
pFadeDuration fade duration in milisecs
pValues initial values of fade strategy
Returns:
control fade strategy
Exceptions:
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

Parameters:
pControlPort associated control port
pFadeTypeName name of fade type
pFadeDuration fade duration in milisecs
pValues initial values of fade strategy
Returns:
control fade strategy
Exceptions:
SynthException no such fade type

void ControlFadeStrategyManager::removeStrategy ( ControlFadeStrategy pStrategy  ) 

remove control fade strategy

Parameters:
pStrategy control fade strategy to be removed

void ControlFadeStrategyManager::createFadeWaveTables (  )  [protected]

creates standard fade wavetables


Member Data Documentation

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


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:42 2011 for synth by  doxygen 1.5.1