Isis 3 Programmer Reference
CnetEditorViewWorkOrder.h
1 #ifndef CnetEditorViewWorkOrder_H
2 #define CnetEditorViewWorkOrder_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "WorkOrder.h"
13 
14 namespace Isis {
15 class ControlList;
16 class Directory;
17 class Project;
18 
39  Q_OBJECT
40  public:
44 
45  virtual CnetEditorViewWorkOrder *clone() const;
46 
47  virtual bool isExecutable(ControlList *controls);
48  bool setupExecution();
49 
50  protected:
51  bool dependsOn(WorkOrder *other) const;
52  void execute();
53  void undoExecution();
54 
55  private:
56  CnetEditorViewWorkOrder &operator=(const CnetEditorViewWorkOrder &rhs);
57  };
58 }
59 #endif
Isis::CnetEditorViewWorkOrder::execute
void execute()
Execute the workorder.
Definition: CnetEditorViewWorkOrder.cpp:74
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::CnetEditorViewWorkOrder::dependsOn
bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
Definition: CnetEditorViewWorkOrder.cpp:68
Isis::ControlList
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
Isis::CnetEditorViewWorkOrder
This work order allows the user to open a cnet editor (table) view of a single control network.
Definition: CnetEditorViewWorkOrder.h:38
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::CnetEditorViewWorkOrder::setupExecution
bool setupExecution()
This sets up the state for the work order.
Definition: CnetEditorViewWorkOrder.cpp:56
Isis::CnetEditorViewWorkOrder::undoExecution
void undoExecution()
Execute the steps necessary to undo this workorder.
Definition: CnetEditorViewWorkOrder.cpp:82
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::CnetEditorViewWorkOrder::isExecutable
virtual bool isExecutable(ControlList *controls)
Re-implement this method if your work order utilizes a control for data in order to operate.
Definition: CnetEditorViewWorkOrder.cpp:46
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16