Isis 3 Programmer Reference
SensorGetInfoWorkOrder.h
Go to the documentation of this file.
1 #ifndef SensorGetInfoWorkOrder_H
2 #define SensorGetInfoWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class GuiCamera;
29 
47  Q_OBJECT
48  public:
52 
53  virtual SensorGetInfoWorkOrder *clone() const;
54 
55  virtual bool isExecutable(GuiCameraQsp camera);
56  bool setupExecution();
57 
58  protected:
59  bool dependsOn(WorkOrder *other) const;
60  void execute();
61  void undoExecution();
62 
63  private:
64  SensorGetInfoWorkOrder &operator=(const SensorGetInfoWorkOrder &rhs);
65  };
66 }
67 #endif
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::SensorGetInfoWorkOrder::~SensorGetInfoWorkOrder
~SensorGetInfoWorkOrder()
The Destructor.
Definition: SensorGetInfoWorkOrder.cpp:64
Isis::SensorGetInfoWorkOrder::clone
virtual SensorGetInfoWorkOrder * clone() const
Returns a copy of the current instance of this WorkOrder.
Definition: SensorGetInfoWorkOrder.cpp:72
Isis::SensorGetInfoWorkOrder::undoExecution
void undoExecution()
Deletes the last view.
Definition: SensorGetInfoWorkOrder.cpp:152
QSharedPointer< GuiCamera >
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::SensorGetInfoWorkOrder
This is a child of class WorkOrder which is used for anything that performs an action in a Project.
Definition: SensorGetInfoWorkOrder.h:46
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::SensorGetInfoWorkOrder::dependsOn
bool dependsOn(WorkOrder *other) const
Determines whether a WorkOrder depends upon SensorGetInfoWorkerOrder.
Definition: SensorGetInfoWorkOrder.cpp:127
Isis::SensorGetInfoWorkOrder::setupExecution
bool setupExecution()
Attempts to retrieve target body info from the camera and display it in a view.
Definition: SensorGetInfoWorkOrder.cpp:106
Isis::SensorGetInfoWorkOrder::isExecutable
virtual bool isExecutable(GuiCameraQsp camera)
Determine if we already have a view for this camera.
Definition: SensorGetInfoWorkOrder.cpp:86
Isis::SensorGetInfoWorkOrder::execute
void execute()
Redisplays the sensor view.
Definition: SensorGetInfoWorkOrder.cpp:136
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::SensorGetInfoWorkOrder::SensorGetInfoWorkOrder
SensorGetInfoWorkOrder(Project *project)
Creates a WorkOrder that will retrieve target body info.
Definition: SensorGetInfoWorkOrder.cpp:43