|
fdhwlib
2.0.25
|
#include <cursesfltpulse.h>
Display functions using the curses library.
Definition at line 30 of file cursesfltpulse.h.
| CursesFltPulse::CursesFltPulse | ( | ) |
| CursesFltPulse::~CursesFltPulse | ( | ) |
| void CursesFltPulse::display | ( | WINDOW * | win, |
| unsigned short * | mem, | ||
| int | n = 1000, |
||
| int | iFirst = 0 |
||
| ) |
Display the ADC data.
| void CursesFltPulse::handleKeyEvent | ( | WINDOW * | win, |
| int | key, | ||
| bool | focus = true |
||
| ) |
Function to be used in the main event loop.
Handles the key events defined for the trigger data view.
| win | Pointer to the curses window |
| key | Last key pressed |
| focus | Does the curses windows has the focus? The variable allows to define actions, if the actual window has not the focus. |
| int CursesFltPulse::setFirstTimeBin | ( | int | bin | ) |
Set the first bin to display (0..100-maxBins)
int CursesFltPulse::kMin [private] |
First time bin to display.
Definition at line 63 of file cursesfltpulse.h.
int CursesFltPulse::maxBins [private] |
Number of columns in the window.
Definition at line 67 of file cursesfltpulse.h.
int CursesFltPulse::mode [private] |
Display options: 0 show maximum, 1 show integral.
Definition at line 60 of file cursesfltpulse.h.