Isis Developer Reference
|
Interface that allows real-time evaluation of the state of a Control Network. More...
#include <ControlHealthMonitorWidget.h>
Public Slots | |
void | emitOpenImageEditor () |
This method is designed to be called whenever a user double-clicks on an image in the image table of the images tab. | |
void | emitOpenPointEditor () |
This method is designed to be called whenever a user double-clicks on a point in the point table of the points tab. | |
void | historyEntry (QString, QString, QVariant, QVariant, QString) |
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class whenever a modification is made to the network. | |
void | viewPointAll () |
void | viewPointFree () |
void | viewPointFixed () |
void | viewPointConstrained () |
void | viewPointIgnored () |
void | viewPointEditLocked () |
void | viewPointFewMeasures () |
void | viewImageAll () |
void | viewImageFewMeasures () |
void | viewImageHullTolerance () |
void | update () |
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals object. | |
Signals | |
void | openPointEditor (ControlPoint *point) |
void | openImageEditor (QList< QString > serials) |
Public Member Functions | |
ControlHealthMonitorWidget (ControlNetVitals *vitals, QWidget *parent=0) | |
This class is the front end representation of a ControlNetVitals object. | |
~ControlHealthMonitorWidget () | |
Destructor. | |
void | createGui () |
This method is responsible for creating all of the components that comprise the GUI. | |
QWidget * | createImagesTab () |
QWidget * | createPointsTab () |
QWidget * | createOverviewTab () |
QWidget * | createGraphTab () |
void | setVitals (ControlNetVitals *vitals) |
void | initializeEverything () |
Initializes all member variables to NULL. | |
Interface that allows real-time evaluation of the state of a Control Network.
Isis::ControlHealthMonitorWidget::ControlHealthMonitorWidget | ( | ControlNetVitals * | vitals, |
QWidget * | parent = 0 ) |
This class is the front end representation of a ControlNetVitals object.
It will accept a ControlNetVitals object upon initialization and reflects the current real-time status of the embedded ControlNet in the ControlNetVitals object.
vitals | (ControlNetVitals *) The ControlNetVitals object that contains the ControlNet. |
parent | (QWidget *) Pointer to parent widget |
References createGui(), historyEntry(), and update().
Isis::ControlHealthMonitorWidget::~ControlHealthMonitorWidget | ( | ) |
Destructor.
QWidget * Isis::ControlHealthMonitorWidget::createGraphTab | ( | ) |
void Isis::ControlHealthMonitorWidget::createGui | ( | ) |
This method is responsible for creating all of the components that comprise the GUI.
References createImagesTab(), createOverviewTab(), createPointsTab(), and initializeEverything().
Referenced by ControlHealthMonitorWidget().
QWidget * Isis::ControlHealthMonitorWidget::createImagesTab | ( | ) |
References emitOpenImageEditor(), viewImageAll(), viewImageFewMeasures(), and viewImageHullTolerance().
Referenced by createGui().
QWidget * Isis::ControlHealthMonitorWidget::createOverviewTab | ( | ) |
Referenced by createGui().
QWidget * Isis::ControlHealthMonitorWidget::createPointsTab | ( | ) |
References emitOpenPointEditor(), viewPointAll(), viewPointConstrained(), viewPointEditLocked(), viewPointFewMeasures(), viewPointFixed(), viewPointFree(), and viewPointIgnored().
Referenced by createGui().
|
slot |
This method is designed to be called whenever a user double-clicks on an image in the image table of the images tab.
It will grab the selected images and emit the openImageEditor() signal, emitting with it the images that were selected.
The openImageEditor() signal is intercepted by the ControlHealthMonitorView and opens the CubeDnView with the images selected.
References openImageEditor().
Referenced by createImagesTab().
|
slot |
This method is designed to be called whenever a user double-clicks on a point in the point table of the points tab.
It will grab the selected point and emit the openPointEditor() signal, emitting with it the point that was selected.
The openPointEditor() signal is intercepted by the ControlHealthMonitorView and opens the ControlPointEditWidget with that point selected.
References Isis::ControlNetVitals::getPoint(), and openPointEditor().
Referenced by createPointsTab().
|
slot |
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class whenever a modification is made to the network.
The signal emits several details pertaining to the history entry.
entry | The history comment to be displayed. |
id | The id of the Control Point, Measure, or Network that was modified. |
oldValue | The old value before the modification was made. |
newValue | The new value after the modification was made. |
timeStamp | The timestamp of when the modification was made. |
Referenced by ControlHealthMonitorWidget().
void Isis::ControlHealthMonitorWidget::initializeEverything | ( | ) |
Initializes all member variables to NULL.
Referenced by createGui().
|
signal |
Referenced by emitOpenImageEditor().
|
signal |
Referenced by emitOpenPointEditor().
void Isis::ControlHealthMonitorWidget::setVitals | ( | ControlNetVitals * | vitals | ) |
|
slot |
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals object.
Changes are detected via the networkChanged() signal which is emitted from the ControlNetVitals object which is triggered whenever networkStructureModified() is emitted from the embedded ControlNet.
References Isis::ControlNetVitals::getNetworkId(), Isis::ControlNetVitals::getStatus(), Isis::ControlNetVitals::getStatusDetails(), Isis::ControlNetVitals::numConstrainedPoints(), Isis::ControlNetVitals::numFixedPoints(), Isis::ControlNetVitals::numFreePoints(), Isis::ControlNetVitals::numIgnoredPoints(), Isis::ControlNetVitals::numImages(), Isis::ControlNetVitals::numImagesBelowHullTolerance(), Isis::ControlNetVitals::numImagesBelowMeasureThreshold(), Isis::ControlNetVitals::numLockedPoints(), Isis::ControlNetVitals::numMeasures(), Isis::ControlNetVitals::numPoints(), Isis::ControlNetVitals::numPointsBelowMeasureThreshold(), Isis::toString(), viewImageAll(), and viewPointAll().
Referenced by ControlHealthMonitorWidget().
|
slot |
References Isis::ControlNetVitals::getCubeSerials(), Isis::ControlNetVitals::numImages(), and Isis::toString().
Referenced by createImagesTab(), and update().
|
slot |
|
slot |
|
slot |
References Isis::ControlNetVitals::getAllPoints(), Isis::ControlNetVitals::numPoints(), and Isis::toString().
Referenced by createPointsTab(), and update().
|
slot |
|
slot |
References Isis::ControlNetVitals::getLockedPoints(), Isis::ControlNetVitals::numLockedPoints(), Isis::ControlNetVitals::numPoints(), and Isis::toString().
Referenced by createPointsTab().
|
slot |
|
slot |
References Isis::ControlNetVitals::getFixedPoints(), Isis::ControlNetVitals::numFixedPoints(), Isis::ControlNetVitals::numPoints(), and Isis::toString().
Referenced by createPointsTab().
|
slot |
References Isis::ControlNetVitals::getFreePoints(), Isis::ControlNetVitals::numFreePoints(), Isis::ControlNetVitals::numPoints(), and Isis::toString().
Referenced by createPointsTab().
|
slot |
References Isis::ControlNetVitals::getIgnoredPoints(), Isis::ControlNetVitals::numIgnoredPoints(), Isis::ControlNetVitals::numPoints(), and Isis::toString().
Referenced by createPointsTab().