BioSignalPi
v2
|
Homepage of the Menu-system for the PiFace GUI. More...
#include <basemenu.h>
Public Member Functions | |
BaseMenu () | |
virtual | ~BaseMenu () |
virtual AbstractMenu * | newMenu () |
Pure virtual function, creates the next Menu object Pure virtual function, that is meant to create a the AbstractMenu object that comes after the MenuObject that called it. More... | |
Public Member Functions inherited from AbstractMenu | |
AbstractMenu () | |
virtual | ~AbstractMenu () |
virtual void | setUpperText () |
Sets the first row of the PiFace CAD to the current option choosen Uses the C library pifacecad.h to control the display. More... | |
virtual void | setUpperText (const char *) |
Sets the first row of the PiFace CAD to the current option choosen Uses the C library pifacecad.h to control the display. More... | |
virtual void | next () |
Toggles the second row of the PiFace CAD to the next option Uses the C library pifacecad.h to control the display. More... | |
virtual void | setLowerText () |
Sets the second row of the PiFace CAD to the current option choosen Uses the C library pifacecad.h to control the display. More... | |
Additional Inherited Members | |
Protected Attributes inherited from AbstractMenu | |
std::vector< std::string > | options |
std::vector containing the different options to display on the PiFace CAD To be set by the derived AbstractMenu object More... | |
int | numberOfOptions |
number of elements stored in the options vector. To be set by the derived AbstractMenu object More... | |
int | currentOption |
Counter that keeps track of the option visible on the PiFace CAD. More... | |
Homepage of the Menu-system for the PiFace GUI.
Definition at line 9 of file basemenu.h.
BaseMenu::BaseMenu | ( | ) |
|
inlinevirtual |
|
virtual |
Pure virtual function, creates the next Menu object Pure virtual function, that is meant to create a the AbstractMenu object that comes after the MenuObject that called it.
What AbstractMenu object that are created depends on in which object the function was called.
currentOption | inherited from AbstractMenu to realize what Object to create. |
Implements AbstractMenu.
Reimplemented in EcgCaptureMenu, BluetoothMenu, and SettingsMenu.
Definition at line 11 of file basemenu.cpp.