BioSignalPi  v2
settingsmenu.cpp
Go to the documentation of this file.
1 #include "settingsmenu.h"
2 
4 {
6  options={"Setting1", "Setting2"};
7 
8 }
9 
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 }
virtual AbstractMenu * newMenu()
Unimplemented.
Abstract menu object for PiFace CAD.
Definition: abstractmenu.h:17
int numberOfOptions
number of elements stored in the options vector. To be set by the derived AbstractMenu object ...
Definition: abstractmenu.h:76
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
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
int currentOption
Counter that keeps track of the option visible on the PiFace CAD.
Definition: abstractmenu.h:82