Isis 3 Developer Reference
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 
50  Q_OBJECT
51  public:
55 
56  virtual TargetGetInfoWorkOrder *clone() const;
57 
59  virtual bool setupExecution();
60  virtual void execute();
61 
62  protected:
63  bool dependsOn(WorkOrder *other) const;
64 
65  private:
66  TargetGetInfoWorkOrder &operator=(const TargetGetInfoWorkOrder &rhs);
67  };
68 }
69 #endif
TargetGetInfoWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
Definition: TargetGetInfoWorkOrder.cpp:45
The main project for ipce.
Definition: Project.h:289
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TargetGetInfoWorkOrder.
Definition: TargetGetInfoWorkOrder.cpp:149
virtual TargetGetInfoWorkOrder * clone() const
Returns a copy of this TargetGetInfoWorkOrder instance.
Definition: TargetGetInfoWorkOrder.cpp:74
This work order allows the user to view target body info.
Definition: TargetGetInfoWorkOrder.h:49
virtual bool isExecutable(TargetBodyQsp targetBody)
Determines if we can get target info.
Definition: TargetGetInfoWorkOrder.cpp:89
TargetBodyQsp targetBody()
WorkOrder::targetBody.
Definition: WorkOrder.cpp:760
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.
~TargetGetInfoWorkOrder()
The Destructor.
Definition: TargetGetInfoWorkOrder.cpp:66
virtual void execute()
Executes this work order.
Definition: TargetGetInfoWorkOrder.cpp:132
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
virtual bool setupExecution()
Attempt to retrieve the Target info.
Definition: TargetGetInfoWorkOrder.cpp:111