Isis 3.0 Programmer Reference
Back | Home
TargetGetInfoWorkOrder.h
Go to the documentation of this file.
1 #ifndef TargetGetInfoWorkOrder_H
2 #define TargetGetInfoWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class TargetBody;
29 
44  Q_OBJECT
45  public:
49 
50  virtual TargetGetInfoWorkOrder *clone() const;
51 
53  bool execute();
54 
55  protected:
56  bool dependsOn(WorkOrder *other) const;
57  void syncRedo();
58  void syncUndo();
59 
60  private:
61  TargetGetInfoWorkOrder &operator=(const TargetGetInfoWorkOrder &rhs);
62  };
63 }
64 #endif
65 
void syncRedo()
Redisplays the Target info.
TargetGetInfoWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
The main project for cnetsuite.
Definition: Project.h:105
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TargetGetInfoWorkOrder.
bool execute()
Attempt to retrieve the Target info and view it.
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
This is a child of class WorkOrder which is used for anything that performs an action in a Project...
virtual bool isExecutable(TargetBodyQsp targetBody)
Determines if we already have a view for the target.
TargetBodyQsp targetBody()
WorkOrder::targetBody.
Definition: WorkOrder.cpp:666
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
QSharedPointer< TargetBody > TargetBodyQsp
Defines A smart pointer to a TargetBody obj.
Definition: TargetBody.h:224
void syncUndo()
Deletes the last view.
virtual TargetGetInfoWorkOrder * clone() const
Returns a copy of this TargetGetInfoWorkOrder instance.

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:30:39