Isis 3 Developer Reference
CnetEditorViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef CnetEditorViewWorkOrder_H
2 #define CnetEditorViewWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28 class ControlList;
29 class Directory;
30 class Project;
31 
52  Q_OBJECT
53  public:
57 
58  virtual CnetEditorViewWorkOrder *clone() const;
59 
60  virtual bool isExecutable(ControlList *controls);
61  bool setupExecution();
62 
63  protected:
64  bool dependsOn(WorkOrder *other) const;
65  void execute();
66  void undoExecution();
67 
68  private:
69  CnetEditorViewWorkOrder &operator=(const CnetEditorViewWorkOrder &rhs);
70  };
71 }
72 #endif
The main project for ipce.
Definition: Project.h:289
bool setupExecution()
This sets up the state for the work order.
Definition: CnetEditorViewWorkOrder.cpp:70
~CnetEditorViewWorkOrder()
Definition: CnetEditorViewWorkOrder.cpp:51
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:60
Maintains a list of Controls so that control nets can easily be copied from one Project to another...
Definition: ControlList.h:36
void undoExecution()
Execute the steps necessary to undo this workorder.
Definition: CnetEditorViewWorkOrder.cpp:96
bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
Definition: CnetEditorViewWorkOrder.cpp:82
virtual CnetEditorViewWorkOrder * clone() const
Definition: CnetEditorViewWorkOrder.cpp:55
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
This work order allows the user to open a cnet editor (table) view of a single control network...
Definition: CnetEditorViewWorkOrder.h:51
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1314
void execute()
Execute the workorder.
Definition: CnetEditorViewWorkOrder.cpp:88
CnetEditorViewWorkOrder(Project *project)
Definition: CnetEditorViewWorkOrder.cpp:38