Isis Developer Reference
ControlHealthMonitorWorkOrder.h
Go to the documentation of this file.
1 #ifndef ControlHealthMonitorWorkOrder_H
2 #define ControlHealthMonitorWorkOrder_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "WorkOrder.h"
13 
14 namespace Isis {
15  class Control;
16 
29  Q_OBJECT
30  public:
34 
35  virtual ControlHealthMonitorWorkOrder *clone() const;
36 
37  virtual bool isExecutable(ControlList *controls);
38 
39  bool setupExecution();
40  void execute();
41 
42  private:
44  };
45 }
46 #endif
ProjectItem.h
ControlHealthMonitorWorkOrder.h
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
Isis::ControlHealthMonitorWorkOrder
This is a child of class WorkOrder which is used for anything that performs an action in a Project.
Definition: ControlHealthMonitorWorkOrder.h:28
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::ControlHealthMonitorWorkOrder::execute
void execute()
Set the active control net for the project.
Definition: ControlHealthMonitorWorkOrder.cpp:107
Isis::WorkOrder::controlList
QPointer< ControlList > controlList()
Returns the Control List for this WorkOrder (a list of control networks).
Definition: WorkOrder.cpp:706
Isis::ControlList
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
Directory.h
Isis::IException::what
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::Project::directory
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
WorkOrder.h
Isis::Directory::addControlHealthMonitorView
ControlHealthMonitorView * addControlHealthMonitorView()
Definition: Directory.cpp:814
Isis::WorkOrder::m_isUndoable
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
Isis::ControlHealthMonitorWorkOrder::clone
virtual ControlHealthMonitorWorkOrder * clone() const
Returns a copy of this ControlHealthMonitorWorkOrder instance.
Definition: ControlHealthMonitorWorkOrder.cpp:58
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::ControlHealthMonitorWorkOrder::~ControlHealthMonitorWorkOrder
~ControlHealthMonitorWorkOrder()
The Destructor.
Definition: ControlHealthMonitorWorkOrder.cpp:50
ProjectItemModel.h
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
Isis::ControlHealthMonitorWorkOrder::isExecutable
virtual bool isExecutable(ControlList *controls)
Determines if we can execute the health monitor.
Definition: ControlHealthMonitorWorkOrder.cpp:70
Isis::ControlHealthMonitorWorkOrder::setupExecution
bool setupExecution()
Make sure an active ImageList has been chosen.
Definition: ControlHealthMonitorWorkOrder.cpp:79
Isis::ControlHealthMonitorWorkOrder::ControlHealthMonitorWorkOrder
ControlHealthMonitorWorkOrder(Project *project)
Creates a WorkOrder that will display the Control Net Health Monitor interface.
Definition: ControlHealthMonitorWorkOrder.cpp:27
Isis::WorkOrder::WorkOrderFinished
@ WorkOrderFinished
This is used for work orders that will not undo or redo (See createsCleanState())
Definition: WorkOrder.h:331
Control.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::WorkOrder::m_status
WorkOrderStatus m_status
Definition: WorkOrder.h:539