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 
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::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
Isis::CnetEditorViewWorkOrder::clone
virtual CnetEditorViewWorkOrder * clone() const
Definition: CnetEditorViewWorkOrder.cpp:41
Isis::CnetEditorViewWorkOrder::~CnetEditorViewWorkOrder
~CnetEditorViewWorkOrder()
Definition: CnetEditorViewWorkOrder.cpp:37
Isis::CnetEditorViewWorkOrder::execute
void execute()
Execute the workorder.
Definition: CnetEditorViewWorkOrder.cpp:74
Isis::CnetEditorViewWorkOrder::CnetEditorViewWorkOrder
CnetEditorViewWorkOrder(Project *project)
Definition: CnetEditorViewWorkOrder.cpp:24
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
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::WorkOrder::controlList
QPointer< ControlList > controlList()
Returns the Control List for this WorkOrder (a list of control networks).
Definition: WorkOrder.cpp:706
Isis::Directory::addCnetEditorView
CnetEditorView * addCnetEditorView(Control *control, QString objectName="")
Add the widget for the cnet editor view to the window.
Definition: Directory.cpp:656
Isis::WorkOrder::m_isSavedToHistory
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
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::CnetEditorViewWorkOrder
This work order allows the user to open a cnet editor (table) view of a single control network.
Definition: CnetEditorViewWorkOrder.h:38
CnetEditorView.h
ControlList.h
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::CnetEditorViewWorkOrder::setupExecution
bool setupExecution()
This sets up the state for the work order.
Definition: CnetEditorViewWorkOrder.cpp:56
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::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::Directory::cnetEditorViews
QList< CnetEditorView * > cnetEditorViews()
Returns a list of all the control network views for this directory.
Definition: Directory.cpp:1320
Control.h
CnetEditorViewWorkOrder.h
Isis::Project::setClean
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
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