Entropy Piano Tuner
1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
|
The AlgorithmFactory class is a template class to be created with the actual Algorithm. More...
#include <algorithmfactory.h>
Protected Member Functions | |
AlgorithmFactory (const AlgorithmFactoryDescription &description) | |
virtual std::unique_ptr < Algorithm > | createAlgorithm (const Piano &piano) |
Protected Member Functions inherited from AlgorithmFactoryBase | |
AlgorithmFactoryBase (const AlgorithmFactoryDescription &description) | |
void | loadDefaultParams () |
Private Member Functions | |
template<> | |
const AlgorithmFactory < entropyminimizer::EntropyMinimizer > | mSingleton (AlgorithmFactoryDescription("entropyminimizer")) |
template<> | |
const AlgorithmFactory < examplealgorithm::ExampleAlgorithm > | mSingleton (AlgorithmFactoryDescription("examplealgorithm")) |
template<> | |
const AlgorithmFactory < pitchraise::PitchRaise > | mSingleton (AlgorithmFactoryDescription("pitchraise")) |
template<> | |
const AlgorithmFactory < resettorecording::ResetToRecording > | mSingleton (AlgorithmFactoryDescription("resettorecording")) |
Static Private Attributes | |
static const AlgorithmFactory | mSingleton |
Additional Inherited Members | |
Public Member Functions inherited from AlgorithmFactoryBase | |
AlgorithmFactoryDescription & | getDescription () |
Protected Attributes inherited from AlgorithmFactoryBase | |
AlgorithmFactoryDescription | mDescription |
The AlgorithmFactory class is a template class to be created with the actual Algorithm.
It overwrites the createAlgorithm method of AlgorithmFactoryBase for creating the AlgorithmClass template argument.
Definition at line 65 of file algorithmfactory.h.
|
inlineprotected |
Definition at line 71 of file algorithmfactory.h.
|
inlineprotectedvirtual |
Implements AlgorithmFactoryBase.
Definition at line 76 of file algorithmfactory.h.
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Definition at line 68 of file algorithmfactory.h.