Isis 3 Programmer Reference
SetActiveControlWorkOrder.h
Go to the documentation of this file.
1 #ifndef SetActiveControlWorkOrder_H
2 #define SetActiveControlWorkOrder_H
3 
23 #include "WorkOrder.h"
24 
25 namespace Isis {
26  class Control;
27 
50  Q_OBJECT
51  public:
55 
56  virtual SetActiveControlWorkOrder *clone() const;
57 
58  virtual bool isExecutable(ControlList *controls);
59 
60  bool setupExecution();
61  void execute();
62 
63  private:
65  };
66 }
67 #endif
Isis::SetActiveControlWorkOrder::execute
void execute()
Set the active control net for the project.
Definition: SetActiveControlWorkOrder.cpp:128
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::SetActiveControlWorkOrder::clone
virtual SetActiveControlWorkOrder * clone() const
Returns a copy of this SetActiveControlWorkOrder instance.
Definition: SetActiveControlWorkOrder.cpp:70
Isis::ControlList
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
Isis::SetActiveControlWorkOrder::~SetActiveControlWorkOrder
~SetActiveControlWorkOrder()
The Destructor.
Definition: SetActiveControlWorkOrder.cpp:62
Isis::SetActiveControlWorkOrder
This is a child of class WorkOrder which is used for anything that performs an action in a Project.
Definition: SetActiveControlWorkOrder.h:49
Isis::SetActiveControlWorkOrder::isExecutable
virtual bool isExecutable(ControlList *controls)
Determines if we can set this control as active.
Definition: SetActiveControlWorkOrder.cpp:81
Isis::SetActiveControlWorkOrder::SetActiveControlWorkOrder
SetActiveControlWorkOrder(Project *project)
Creates a WorkOrder that will set the active Control in the project.
Definition: SetActiveControlWorkOrder.cpp:39
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::SetActiveControlWorkOrder::setupExecution
bool setupExecution()
Make sure an active ImageList has been chosen.
Definition: SetActiveControlWorkOrder.cpp:99
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16