fdhwlib  2.0.25
CursesSltPattern Class Reference

#include <cursessltpattern.h>

Inheritance diagram for CursesSltPattern:
SltPattern

List of all members.

Public Member Functions

Private Attributes


Detailed Description

Display functions using the curses library.

Definition at line 33 of file cursessltpattern.h.


Constructor & Destructor Documentation

CursesSltPattern::CursesSltPattern ( )
CursesSltPattern::~CursesSltPattern ( )

Member Function Documentation

void CursesSltPattern::display ( WINDOW *  win,
unsigned long *  mem,
int  n,
int  iFirst = 0 
)
void CursesSltPattern::display ( unsigned long *  mem,
int  n,
int  iFirst = 0 
)
void CursesSltPattern::displaySkyFit ( WINDOW *  win,
double  phi0,
double  dphi 
)

Plot the fit given in sky coordinates by the formular:

phi = phi0 + dphi * delta,

where phi ist the azimuth angle and delta is the elevation angle.

Parameters:
winPointer to the curses window
phi0
dphi
void CursesSltPattern::explore ( unsigned long *  mem,
int  n,
int  iFirst = 0 
)

Explore the trigger information.

Parameters:
memPointer to the trigger memory. The memory is asumed to start always with data for the first column
nNumber of lines to be analysed. Every 20 lines a new image starts.
iFirstIndex of the first trigger line
int CursesSltPattern::getCol ( )

Return GUI parameters for dependant interfaces.

int CursesSltPattern::getFirstTimeBin ( )

Return GUI parameters for dependant interfaces.

int CursesSltPattern::getRow ( )

Return GUI parameters for dependant interfaces.

void CursesSltPattern::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.
void CursesSltPattern::moveToCoordinate ( WINDOW *  win,
int  x,
int  y 
)

Move to a given coordinate.

void CursesSltPattern::moveToPixel ( WINDOW *  win)

Move to the current pixel position.

int CursesSltPattern::setFirstTimeBin ( int  bin)

Change the first displayed time bin (1..100-maxBins).

void CursesSltPattern::setFixColumnMode ( bool  mode)

Switch the fixed column mode.


Member Data Documentation

int CursesSltPattern::col [private]

Definition at line 105 of file cursessltpattern.h.

int CursesSltPattern::dig [private]

Definition at line 107 of file cursessltpattern.h.

Flag to indicate the display modus.

If fixed ccolumn is turned of (false) the projection of all pixel in a row is displayed versus time. In the fix column mode the column defined by the xy-view is display versus time.

Definition at line 121 of file cursessltpattern.h.

int CursesSltPattern::inc [private]

Definition at line 108 of file cursessltpattern.h.

int CursesSltPattern::kMin [private]

First time bin to display.

Definition at line 111 of file cursessltpattern.h.

Number of columns available in this window.

Definition at line 113 of file cursessltpattern.h.

int CursesSltPattern::row [private]

Definition at line 106 of file cursessltpattern.h.

WINDOW* CursesSltPattern::win [private]

Definition at line 103 of file cursessltpattern.h.


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