Isis 3 Programmer 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.
virtual bool isExecutable(ControlList *controls)
Re-implement this method if your work order utilizes a control for data in order to operate...
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.
bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
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...
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.