SEPIA
Software documentation for the APEX SEPIA receivers
|
A class for representing the state of the selection mirror via the GUI. More...
#include <calunit.h>
Inherits QwtCompass.
Public Types | |
enum | MirrorPosition { MOVING = -1, UNDEFINED = 0, SKYB9 = 1, SKYB7 = 2, SKYB5 = 3, LINE_INJECTOR = 4 } |
Possible positions for the selection mirror on the calibration unit. More... | |
Public Slots | |
void | moveTo (CalUnit::MirrorPosition pos) |
Move to a predefined CalUnit::MirrorPosition. More... | |
void | showMirrorMoved (float pos) |
Show the new position of the selection mirror. More... | |
void | connected () |
Indicate that connection is on. | |
void | disconnected () |
Indicate that connection is off. | |
void | error () |
Indicate connection error. | |
void | setMoving (bool flag) |
Set internal state to moving/not moving. More... | |
void | positionReached () |
Set actual position to commanded position. | |
Signals | |
void | newCmdPosition (CalUnit::MirrorPosition pos) |
Signal the value of the new position. More... | |
Public Member Functions | |
bool | isMoving () const |
Check if the mirror is moving. More... | |
Public Attributes | |
Property< CalUnit::MirrorPosition > | chopMode |
The position of the selection mirror. | |
Static Public Attributes | |
static const double | mirrorPositions [4] = { 1.0, 136.75, 237.50, 340.50 } |
known positions in decimal degress: HOME, SKYB9, SKYB7, SKYB5. | |
A class for representing the state of the selection mirror via the GUI.
Possible positions for the selection mirror on the calibration unit.
|
inline |
Check if the mirror is moving.
|
slot |
Move to a predefined CalUnit::MirrorPosition.
pos | position to move to |
|
signal |
Signal the value of the new position.
pos | the CalUnit::MirrorPosition of the new position. |
|
slot |
Set internal state to moving/not moving.
flag | boolean state to set |
|
slot |
Show the new position of the selection mirror.
pos | the new position in degrees. |