BioSignalPi
v2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
PiFace-Interface
settingsmenu.cpp
Go to the documentation of this file.
1
#include "
settingsmenu.h
"
2
3
SettingsMenu::SettingsMenu
()
4
{
5
numberOfOptions
=0;
6
options
={
"Setting1"
,
"Setting2"
};
7
8
}
9
10
AbstractMenu
*
SettingsMenu::newMenu
(){
11
AbstractMenu
*
newMenu
=0;
12
switch
(
currentOption
){
13
case
0:
14
setUpperText
();
15
newMenu=
new
EcgCaptureMenu
;
16
break
;
17
18
case
1:
19
newMenu=
new
EcgCaptureMenu
;
20
break
;
21
}
22
return
newMenu
;
23
24
}
EcgCaptureMenu::EcgCaptureMenu
EcgCaptureMenu()
Definition:
ecgcapturemenu.cpp:8
SettingsMenu::newMenu
virtual AbstractMenu * newMenu()
Unimplemented.
Definition:
settingsmenu.cpp:10
SettingsMenu::SettingsMenu
SettingsMenu()
Definition:
settingsmenu.cpp:3
settingsmenu.h
AbstractMenu
Abstract menu object for PiFace CAD.
Definition:
abstractmenu.h:17
AbstractMenu::numberOfOptions
int numberOfOptions
number of elements stored in the options vector. To be set by the derived AbstractMenu object ...
Definition:
abstractmenu.h:76
AbstractMenu::options
std::vector< std::string > options
std::vector containing the different options to display on the PiFace CAD To be set by the derived Ab...
Definition:
abstractmenu.h:70
AbstractMenu::setUpperText
virtual void setUpperText()
Sets the first row of the PiFace CAD to the current option choosen Uses the C library pifacecad...
Definition:
abstractmenu.cpp:9
AbstractMenu::currentOption
int currentOption
Counter that keeps track of the option visible on the PiFace CAD.
Definition:
abstractmenu.h:82
Generated on Mon Feb 8 2016 10:21:30 for BioSignalPi by
1.8.11