|
fdhwlib
2.0.25
|
#include <cursessltpattern.h>
Display functions using the curses library.
Definition at line 33 of file cursessltpattern.h.
| CursesSltPattern::CursesSltPattern | ( | ) |
| CursesSltPattern::~CursesSltPattern | ( | ) |
| 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.
| win | Pointer to the curses window |
| phi0 | |
| dphi |
| void CursesSltPattern::explore | ( | unsigned long * | mem, |
| int | n, | ||
| int | iFirst = 0 |
||
| ) |
Explore the trigger information.
| mem | Pointer to the trigger memory. The memory is asumed to start always with data for the first column |
| n | Number of lines to be analysed. Every 20 lines a new image starts. |
| iFirst | Index 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.
| 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. |
| 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.
int CursesSltPattern::col [private] |
Definition at line 105 of file cursessltpattern.h.
int CursesSltPattern::dig [private] |
Definition at line 107 of file cursessltpattern.h.
bool CursesSltPattern::fixColumn [private] |
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.
int CursesSltPattern::maxBins [private] |
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.