Isis 3.0 Programmer Reference
Back | Home
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 
43  Q_OBJECT
44  public:
48 
49  virtual SensorGetInfoWorkOrder *clone() const;
50 
51  virtual bool isExecutable(GuiCameraQsp camera);
52  bool execute();
53 
54  protected:
55  bool dependsOn(WorkOrder *other) const;
56  void syncRedo();
57  void syncUndo();
58 
59  private:
60  SensorGetInfoWorkOrder &operator=(const SensorGetInfoWorkOrder &rhs);
61  };
62 }
63 #endif
64 
The main project for cnetsuite.
Definition: Project.h:105
This is a child of class WorkOrder which is used for anything that performs an action in a Project...
bool dependsOn(WorkOrder *other) const
Determines whether a WorkOrder depends upon SensorGetInfoWorkerOrder.
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
void syncRedo()
Redisplays the sensor view.
void syncUndo()
Deletes the last view.
SensorGetInfoWorkOrder(Project *project)
Constructor that creates a WorkOrder that will retrieve target body info.
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
bool execute()
Attempts to retrieve target body info from the camera and display it in a view.
virtual bool isExecutable(GuiCameraQsp camera)
Determines if this WorkOrder can be executed.
virtual SensorGetInfoWorkOrder * clone() const
Returns a copy of the current instance of this WorkOrder.
QSharedPointer< GuiCamera > GuiCameraQsp
GuiCameraQsp Represents a smart pointer to a GuiCamera object.
Definition: GuiCamera.h:188

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:28:52