Isis Developer Reference
CnetEditorViewWorkOrder.h
Go to the documentation of this file.
1#ifndef CnetEditorViewWorkOrder_H
2#define CnetEditorViewWorkOrder_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "WorkOrder.h"
13
14namespace Isis {
15class ControlList;
16class Directory;
17class 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:
57 };
58}
59#endif
This work order allows the user to open a cnet editor (table) view of a single control network.
Definition CnetEditorViewWorkOrder.h:38
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
~CnetEditorViewWorkOrder()
Definition CnetEditorViewWorkOrder.cpp:37
virtual CnetEditorViewWorkOrder * clone() const
Definition CnetEditorViewWorkOrder.cpp:41
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
void undoExecution()
Execute the steps necessary to undo this workorder.
Definition CnetEditorViewWorkOrder.cpp:82
CnetEditorViewWorkOrder(Project *project)
Definition CnetEditorViewWorkOrder.cpp:24
bool setupExecution()
This sets up the state for the work order.
Definition CnetEditorViewWorkOrder.cpp:56
void execute()
Execute the workorder.
Definition CnetEditorViewWorkOrder.cpp:74
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition ControlList.h:44
The main project for ipce.
Definition Project.h:289
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition WorkOrder.cpp:1298
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16