fdhwlib  2.0.25
CursesFltPulse Class Reference

#include <cursesfltpulse.h>

Inheritance diagram for CursesFltPulse:
FltPulse

List of all members.

Public Member Functions

Private Attributes


Detailed Description

Display functions using the curses library.

Definition at line 30 of file cursesfltpulse.h.


Constructor & Destructor Documentation

CursesFltPulse::CursesFltPulse ( )
CursesFltPulse::~CursesFltPulse ( )

Member Function Documentation

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.

Parameters:
winPointer to the curses window
keyLast key pressed
focusDoes 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)


Member Data Documentation

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.


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