  | 
  
    Isis Developer Reference
    
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef ImportControlNetWorkOrder_H 
    2 #define ImportControlNetWorkOrder_H 
   30 #include <QFutureWatcher> 
   89       void cnetReady(
int ready);
 
  101       class CreateControlsFunctor : 
public std::unary_function<
 
  102           const QPair<FileName, Progress *> &, Control *> {
 
  110           QDir m_destinationFolder; 
 
  121 #endif // ImportControlNetWorkOrder_H 
 
 
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
 
void SetMutex(QMutex *mutex)
Set mutex to lock for making Naif calls.
Definition: ControlNet.cpp:1666
 
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
 
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
 
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
 
File name manipulation and expansion.
Definition: FileName.h:100
 
void addControl(Control *control)
Add the given Control's to the current project.
Definition: Project.cpp:958
 
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
 
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
 
void Write(const QString &filename, bool pvl=false)
Writes out the control network.
Definition: ControlNet.cpp:311
 
Control * activeControl()
Return the Active Control (control network)
Definition: Project.cpp:1903
 
virtual ImportControlNetWorkOrder * clone() const
This method clones the current ImportControlNetWorkOrder and returns it.
Definition: ImportControlNetWorkOrder.cpp:92
 
bool setupExecution()
Sets up the work order for execution.
Definition: ImportControlNetWorkOrder.cpp:126
 
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:66
 
Definition: JigsawWorkOrder.h:28
 
void postExecution()
Clears progress.
Definition: ImportControlNetWorkOrder.cpp:199
 
ImportControlNetWorkOrder(Project *project)
Creates a work order to import a control network.
Definition: ImportControlNetWorkOrder.cpp:47
 
bool m_isSynchronous
This is defaulted to true.
Definition: WorkOrder.h:530
 
void ReadControl(const QString &filename, Progress *progress=0)
Reads in the control points from the given file.
Definition: ControlNet.cpp:271
 
The main project for ipce.
Definition: Project.h:289
 
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition: IException.cpp:409
 
~ImportControlNetWorkOrder()
Destructor.
Definition: ImportControlNetWorkOrder.cpp:81
 
void closeControlNet()
Cleans up the ControlNet pointer.
Definition: Control.cpp:214
 
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
 
void warn(QString text, Data relevantData)
Definition: Project.cpp:2643
 
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
 
a control network
Definition: ControlNet.h:257
 
Add control networks to a project c Asks the user for a list of control nets and copies them into the...
Definition: ImportControlNetWorkOrder.h:72
 
Isis exception class.
Definition: IException.h:91
 
Program progress reporter.
Definition: Progress.h:42
 
void setProgressRange(int, int)
Sets the progress range of the WorkOrder.
Definition: WorkOrder.cpp:1358
 
QList< ControlList * > controls()
Return controls in project.
Definition: Project.cpp:2038
 
int MaximumSteps() const
Returns the maximum number of steps of the progress.
Definition: Progress.cpp:172
 
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
 
@ WorkOrderFinished
This is used for work orders that will not undo or redo (See createsCleanState())
Definition: WorkOrder.h:331
 
void setProgressValue(int)
Sets the current progress value for the WorkOrder.
Definition: WorkOrder.cpp:1368
 
This is free and unencumbered software released into the public domain.
Definition: AbstractTableModel.h:24
 
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
 
void setModifiesDiskState(bool changesProjectOnDisk)
Definition: WorkOrder.cpp:1674
 
virtual bool isExecutable(ProjectItem *item)
This method returns true if the user clicked on a project tree node with the text "Control Networks".
Definition: ImportControlNetWorkOrder.cpp:107
 
void DisableAutomaticDisplay()
Turns off updating the Isis Gui when CheckStatus() is called.
Definition: Progress.cpp:161
 
QDir addCnetFolder(QString prefix)
Create and return the name of a folder for placing control networks.
Definition: Project.cpp:926
 
int CurrentStep() const
Returns the current step of the progress.
Definition: Progress.cpp:185
 
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
 
void execute()
Imports the control network asynchronously.
Definition: ImportControlNetWorkOrder.cpp:151
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
 
WorkOrderStatus m_status
Definition: WorkOrder.h:539
 
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:134