Isis 3 Programmer Reference
Isis::ControlHealthMonitorWidget Class Reference

Interface that allows real-time evaluation of the state of a Control Network. More...

#include <ControlHealthMonitorWidget.h>

Inheritance diagram for Isis::ControlHealthMonitorWidget:
Inheritance graph
Collaboration diagram for Isis::ControlHealthMonitorWidget:
Collaboration graph

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. More...
 
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. More...
 
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. More...
 
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. More...
 

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. More...
 
 ~ControlHealthMonitorWidget ()
 Destructor. More...
 
void createGui ()
 This method is responsible for creating all of the components that comprise the GUI. More...
 
QWidgetcreateImagesTab ()
 
QWidgetcreatePointsTab ()
 
QWidgetcreateOverviewTab ()
 
QWidgetcreateGraphTab ()
 
void setVitals (ControlNetVitals *vitals)
 
void initializeEverything ()
 Initializes all member variables to NULL. More...
 

Private Member Functions

void updateStatus (int code)
 
void updateImageTable (QList< QString > serials)
 
void updatePointTable (QList< ControlPoint * > points)
 

Private Attributes

ControlNetVitalsm_vitals
 
QProgressBarm_statusBar
 
QProgressBarm_pointsFreeProgressbar
 
QProgressBarm_pointsConstrainedProgressbar
 
QProgressBarm_pointsFixedProgressbar
 
QTableWidget * m_historyTable
 
QTableWidget * m_imagesTable
 
QTableWidget * m_pointsTable
 
QLabel * m_imagesHullValue
 
QLabel * m_imagesMeasuresValue
 
QLabel * m_imagesShowingLabel
 
QLabel * m_lastModLabel
 
QLabel * m_netLabel
 
QLabel * m_numImagesLabel
 
QLabel * m_numMeasuresLabel
 
QLabel * m_numPointsLabel
 
QLabel * m_pointsConstrainedLabel
 
QLabel * m_pointsEditLockedLabel
 
QLabel * m_pointsFewMeasuresLabel
 
QLabel * m_pointsFixedLabel
 
QLabel * m_pointsFreeLabel
 
QLabel * m_pointsIgnoredLabel
 
QLabel * m_pointsShowingLabel
 
QLabel * m_statusDetails
 
QLabel * m_statusLabel
 

Detailed Description

Interface that allows real-time evaluation of the state of a Control Network.

Author
2018-05-28 Adam Goins
History:
2018-05-28 Adam Goins - Initial Creation.

Definition at line 29 of file ControlHealthMonitorWidget.h.

Constructor & Destructor Documentation

◆ ControlHealthMonitorWidget()

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.

Parameters
vitals(ControlNetVitals *) The ControlNetVitals object that contains the ControlNet.
parent(QWidget *) Pointer to parent widget

Definition at line 50 of file ControlHealthMonitorWidget.cpp.

References createGui(), historyEntry(), and update().

◆ ~ControlHealthMonitorWidget()

Isis::ControlHealthMonitorWidget::~ControlHealthMonitorWidget ( )

Destructor.

Definition at line 847 of file ControlHealthMonitorWidget.cpp.

Member Function Documentation

◆ createGui()

void Isis::ControlHealthMonitorWidget::createGui ( )

This method is responsible for creating all of the components that comprise the GUI.

Definition at line 172 of file ControlHealthMonitorWidget.cpp.

References initializeEverything().

Referenced by ControlHealthMonitorWidget().

◆ emitOpenImageEditor

void Isis::ControlHealthMonitorWidget::emitOpenImageEditor ( )
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.

Definition at line 609 of file ControlHealthMonitorWidget.cpp.

◆ emitOpenPointEditor

void Isis::ControlHealthMonitorWidget::emitOpenPointEditor ( )
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.

Definition at line 627 of file ControlHealthMonitorWidget.cpp.

References Isis::ControlNetVitals::getPoint().

◆ historyEntry

void Isis::ControlHealthMonitorWidget::historyEntry ( QString  entry,
QString  id,
QVariant  oldValue,
QVariant  newValue,
QString  timeStamp 
)
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.

Parameters
entryThe history comment to be displayed.
idThe id of the Control Point, Measure, or Network that was modified.
oldValueThe old value before the modification was made.
newValueThe new value after the modification was made.
timeStampThe timestamp of when the modification was made.

Definition at line 647 of file ControlHealthMonitorWidget.cpp.

Referenced by ControlHealthMonitorWidget().

◆ initializeEverything()

void Isis::ControlHealthMonitorWidget::initializeEverything ( )

Initializes all member variables to NULL.

Definition at line 266 of file ControlHealthMonitorWidget.cpp.

Referenced by createGui().

◆ update


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