Isis 3.0 Programmer Reference
Back | Home
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 {
37  Q_OBJECT
38  public:
42 
43  virtual CnetEditorViewWorkOrder *clone() const;
44 
45  virtual bool isExecutable(ControlList *controls);
46  bool execute();
47 
48  protected:
49  bool dependsOn(WorkOrder *other) const;
50  void syncRedo();
51  void syncUndo();
52 
53  private:
54  CnetEditorViewWorkOrder &operator=(const CnetEditorViewWorkOrder &rhs);
55  };
56 }
57 #endif
58 
The main project for cnetsuite.
Definition: Project.h:105
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:34
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
bool dependsOn(WorkOrder *other) const
This is a virtual function whose role in child classes is to determine if this WorkOrder deppends on ...
bool execute()
The (child) implementation of this method should prompt the user/gather state by any means necessary...
void syncRedo()
This method is designed to be implemented by children work orders.
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
void syncUndo()
This method is designed to be implemented by children work orders.
This work order allows the user to open a cnet editor (table) view of a single control network...

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:16:03