BioSignalPi  v2
bluetoothmenu.cpp
Go to the documentation of this file.
1 #include "bluetoothmenu.h"
2 #include "settingsmenu.h"
3 
5 {
7  options={"Default", "Default"};
8 
9 }
10 
16  switch (currentOption){
17  case 0:
18  newMenu=new SettingsMenu;
19  break;
20  case 1:
21  newMenu=new BaseMenu;
22  }
23  return newMenu;
24 
25 
26 }
27 
28 
BaseMenu()
Definition: basemenu.cpp:5
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
virtual AbstractMenu * newMenu()
Does nothing.
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
The SettingsMenu class for the PiFace GUI.
Definition: settingsmenu.h:10
int currentOption
Counter that keeps track of the option visible on the PiFace CAD.
Definition: abstractmenu.h:82