|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef SetActiveControlWorkOrder_H
2 #define SetActiveControlWorkOrder_H
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
void execute()
Set the active control net for the project.
Definition: SetActiveControlWorkOrder.cpp:128
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
virtual SetActiveControlWorkOrder * clone() const
Returns a copy of this SetActiveControlWorkOrder instance.
Definition: SetActiveControlWorkOrder.cpp:70
QPointer< ControlList > controlList()
Returns the Control List for this WorkOrder (a list of control networks).
Definition: WorkOrder.cpp:706
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
~SetActiveControlWorkOrder()
The Destructor.
Definition: SetActiveControlWorkOrder.cpp:62
This is a child of class WorkOrder which is used for anything that performs an action in a Project.
Definition: SetActiveControlWorkOrder.h:49
virtual bool isExecutable(ControlList *controls)
Determines if we can set this control as active.
Definition: SetActiveControlWorkOrder.cpp:81
SetActiveControlWorkOrder(Project *project)
Creates a WorkOrder that will set the active Control in the project.
Definition: SetActiveControlWorkOrder.cpp:39
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
The main project for ipce.
Definition: Project.h:289
void setActiveControl(QString displayName)
Set the Active Control (control network)
Definition: Project.cpp:1819
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis exception class.
Definition: IException.h:91
bool setupExecution()
Make sure an active ImageList has been chosen.
Definition: SetActiveControlWorkOrder.cpp:99
@ WorkOrderFinished
This is used for work orders that will not undo or redo (See createsCleanState())
Definition: WorkOrder.h:331
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
WorkOrderStatus m_status
Definition: WorkOrder.h:539