Public Member Functions

Presenter Class Reference

Presenter. More...

#include <Presenter.h>

List of all members.

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.

Detailed Description

Presenter.

This class provides the interface of communication between Main, MainWindow and the AudioControl components.


Constructor & Destructor Documentation

Presenter::Presenter ( )

Presenter Constructor.

The Presenter constructor is a default C++ constructor, requires no parameters


Member Function Documentation

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 *  )

Presenter Action Start Patch.

Is called whenever a patch is to be activated. Tells AudioControl to activate a given patch.

void Presenter::actionStopPatch ( )

Presenter Action Stop Patch.

Is called whenever a patch is to be stopped.

string Presenter::getCurrentPatch ( )

Presenter Get Current Patch.

Tells which patch is currently handled

int Presenter::getPatchList ( vector< string > &  files)

Presenter Get Patch List.

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 ( )

Presenter Setup Jack.

Tells AudioControl to setup Jack

void Presenter::setupLibPD ( )

Presenter Setup LibPd.

Tells AudioControl to setup LibPd


The documentation for this class was generated from the following files:
 All Classes Functions