BioSignalPi  v2
Public Member Functions | List of all members
BaseMenu Class Reference

Homepage of the Menu-system for the PiFace GUI. More...

#include <basemenu.h>

Inheritance diagram for BaseMenu:
Inheritance graph
[legend]
Collaboration diagram for BaseMenu:
Collaboration graph
[legend]

Public Member Functions

 BaseMenu ()
 
virtual ~BaseMenu ()
 
virtual AbstractMenunewMenu ()
 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...
 

Detailed Description

Homepage of the Menu-system for the PiFace GUI.

Author
Martin

Definition at line 9 of file basemenu.h.

Constructor & Destructor Documentation

BaseMenu::BaseMenu ( )

Definition at line 5 of file basemenu.cpp.

Here is the caller graph for this function:

virtual BaseMenu::~BaseMenu ( )
inlinevirtual

Definition at line 13 of file basemenu.h.

Here is the call graph for this function:

Member Function Documentation

AbstractMenu * BaseMenu::newMenu ( )
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.

Parameters
currentOptioninherited from AbstractMenu to realize what Object to create.

Implements AbstractMenu.

Reimplemented in EcgCaptureMenu, BluetoothMenu, and SettingsMenu.

Definition at line 11 of file basemenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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