#include <Presenter.h>
Public Member Functions | |
| Presenter () | |
| Presenter Constructor. | |
| int | actionAdjustDial (int, std::string) |
| Presenter Action Adjust Dial. | |
| void | actionStartPatch (std::string *) |
| Presenter Action Start Patch. | |
| void | actionStopPatch () |
| Presenter Action Stop Patch. | |
| void | actionSelectPatch (std::string *) |
| Presenter Action Select Patch. | |
| void | setupJack () |
| Presenter Setup Jack. | |
| void | initLibPD () |
| Presenter Init LibPd. | |
| void | setupLibPD () |
| Presenter Setup LibPd. | |
| std::string | getCurrentPatch () |
| Presenter Get Current Patch. | |
| int | getPatchList (vector< string > &) |
| Presenter Get Patch List. | |
This class provides the interface of communication between Main, MainWindow and the AudioControl components.
| Presenter::Presenter | ( | ) |
| int Presenter::actionAdjustDial | ( | int | , |
| std::string | |||
| ) |
Presenter Action Adjust Dial.
Is called from MainWindow when either sound controls are adjusted Tells AudioControl to adjust the patch (through LibPd as always)
| void Presenter::actionSelectPatch | ( | std::string * | ) |
Presenter Action Select Patch.
Is called whenever a patch is selected. Tells AudioControl which patch is selected.
| void Presenter::actionStartPatch | ( | std::string * | ) |
Is called whenever a patch is to be activated. Tells AudioControl to activate a given patch.
| void Presenter::actionStopPatch | ( | ) |
| string Presenter::getCurrentPatch | ( | ) |
| int Presenter::getPatchList | ( | vector< string > & | files | ) |
Fetching the availible *.pd-files and provides the list to MainWindow
| void Presenter::initLibPD | ( | ) |
Presenter Init LibPd.
Tells AudioControl to initialize LibPd
| void Presenter::setupJack | ( | ) |
Tells AudioControl to setup Jack
| void Presenter::setupLibPD | ( | ) |
Presenter Setup LibPd.
Tells AudioControl to setup LibPd
1.7.3