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

Menu were the user can chosse between SettingsMenu or starting ECG-capture The start menu starts the ECG-capture and will capture until pressed again. More...

#include <ecgcapturemenu.h>

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

Public Member Functions

 EcgCaptureMenu ()
 
virtual ~EcgCaptureMenu ()
 
virtual AbstractMenunewMenu ()
 Enter SettingsMenu for case 0 and starts DeviceManager and EcgCapture for case 1. More...
 
- Public Member Functions inherited from BaseMenu
 BaseMenu ()
 
virtual ~BaseMenu ()
 
- 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

Menu were the user can chosse between SettingsMenu or starting ECG-capture The start menu starts the ECG-capture and will capture until pressed again.

Author
Martin

Definition at line 14 of file ecgcapturemenu.h.

Constructor & Destructor Documentation

EcgCaptureMenu::EcgCaptureMenu ( )

Definition at line 8 of file ecgcapturemenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual EcgCaptureMenu::~EcgCaptureMenu ( )
inlinevirtual

Definition at line 18 of file ecgcapturemenu.h.

Here is the call graph for this function:

Member Function Documentation

AbstractMenu * EcgCaptureMenu::newMenu ( )
virtual

Enter SettingsMenu for case 0 and starts DeviceManager and EcgCapture for case 1.

Returns
the next menu
Bug:
The program will freeze after the capturing is stopped since the stop function isn't implemented with a return statement

Reimplemented from BaseMenu.

Reimplemented in SettingsMenu.

Definition at line 21 of file ecgcapturemenu.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: