27 #include "../settings.h"
57 calculator->
start (algorithmName, piano);
89 std::vector<std::string> out;
91 out.push_back(src.first);
PianoManager * getPianoManager()
virtual void startCalculation(const std::string &algorithmName)
Function called by the GUI to start the calculation of the tuning curve.
static CalculationManager & getSingleton()
Core * mCore
Private pointer to the core.
static Settings & getSingleton()
Get a pointer to the singleton instance.
void start(const std::string &algorithmName, const Piano &piano)
Start the calculation thread. By calling this function, the current piano is passed by reference and ...
virtual void setLastUsedAlgorithm(const std::string &name)
Set the name of the last used algorithm.
void stop()
Stop the calculation thread.
CORE : Class managing the core.
virtual void cancelCalculation()
Function called by the GUI to interrupt or stop the calculation thread.
CalculationAdapter(Core *core)
Constructor, copies a pointer pointing to the core.
std::vector< std::string > getAvailableAlgorithms() const
Get a list of available tuning algorithms.