File failed to load: https://isis.astrogeology.usgs.gov/9.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
CnetEditorViewWorkOrder.h
1#ifndef CnetEditorViewWorkOrder_H
2#define CnetEditorViewWorkOrder_H
3
9
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "WorkOrder.h"
13
14namespace Isis {
15class ControlList;
16class Directory;
17class Project;
18
38 class CnetEditorViewWorkOrder : public WorkOrder {
39 Q_OBJECT
40 public:
41 CnetEditorViewWorkOrder(Project *project);
42 CnetEditorViewWorkOrder(const CnetEditorViewWorkOrder &other);
43 ~CnetEditorViewWorkOrder();
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
virtual bool isExecutable(ControlList *controls)
Re-implement this method if your work order utilizes a control for data in order to operate.
bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
void undoExecution()
Execute the steps necessary to undo this workorder.
bool setupExecution()
This sets up the state for the work order.
void execute()
Execute the workorder.
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition ControlList.h:42
The main project for ipce.
Definition Project.h:287
Project * project() const
Returns the Project this WorkOrder is attached to.
WorkOrder(Project *project)
Create a work order that will work with the given project.
Definition WorkOrder.cpp:38
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16