File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
Go to the documentation of this file. 1 #ifndef ImportControlNetWorkOrder_H
2 #define ImportControlNetWorkOrder_H
25 #include "WorkOrder.h"
30 #include <QFutureWatcher>
33 #include "IException.h"
102 const QPair<FileName, Progress *> &, Control *> {
121 #endif // ImportControlNetWorkOrder_H
ControlList * m_list
List of controls added to project.
Control * operator()(const QPair< FileName, Progress * > &cnetFilename)
Reads and writes the control network(s) asynchronously.
This is free and unencumbered software released into the public domain.
Provide Undo/redo abilities, serialization, and history for an operation.
QFutureWatcher< Control * > * m_watcher
QFutureWatcher, allows for asynchronous import.
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Project * m_project
The project to import to.
QString m_warning
String of any errors/warnings that occurred during import.
virtual ImportControlNetWorkOrder * clone() const
This method clones the current ImportControlNetWorkOrder and returns it.
bool setupExecution()
Sets up the work order for execution.
This represents an ISIS control net in a project-based GUI interface.
void postExecution()
Clears progress.
ImportControlNetWorkOrder(Project *project)
Creates a work order to import a control network.
IException errors() const
Indicates if any errors occurred during the import.
The main project for ipce.
QDir m_destinationFolder
The directory to copy the control net too.
~ImportControlNetWorkOrder()
Destructor.
QList< Progress * > m_readProgresses
Keeps track of import progress.
Project * project() const
Returns the Project this WorkOrder is attached to.
Add control networks to a project c Asks the user for a list of control nets and copies them into the...
QSharedPointer< IException > m_errors
Stores any errors that occur during import.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
virtual bool isExecutable(ProjectItem *item)
This method returns true if the user clicked on a project tree node with the text "Control Networks".
CreateControlsFunctor(Project *project, QDir destinationFolder)
CreateControlsFunctor constructor.
void cnetReady(int ready)
Adds the control net to the project.
void execute()
Imports the control network asynchronously.
This is free and unencumbered software released into the public domain.
Represents an item of a ProjectItemModel in Qt's model-view framework.