1#ifndef ImportControlNetWorkOrder_H 
    2#define ImportControlNetWorkOrder_H 
   30#include <QFutureWatcher> 
   89      void cnetReady(
int ready);
 
  101      class CreateControlsFunctor : 
public std::function<
 
  102          Control *(const QPair<FileName, Progress *> &)> {
 
  105          Control *operator()(
const QPair<FileName, Progress *> &cnetFilename);
 
  110          QDir m_destinationFolder; 
 
  111          QSharedPointer<IException> m_errors; 
 
  115      QFutureWatcher<Control *> *m_watcher; 
 
  117      QList<Progress *> m_readProgresses; 
 
 
This represents an ISIS control net in a project-based GUI interface.
Definition Control.h:66
 
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition ControlList.h:44
 
Isis exception class.
Definition IException.h:91
 
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
 
~ImportControlNetWorkOrder()
Destructor.
Definition ImportControlNetWorkOrder.cpp:81
 
ImportControlNetWorkOrder(Project *project)
Creates a work order to import a control network.
Definition ImportControlNetWorkOrder.cpp:47
 
void execute()
Imports the control network asynchronously.
Definition ImportControlNetWorkOrder.cpp:151
 
bool setupExecution()
Sets up the work order for execution.
Definition ImportControlNetWorkOrder.cpp:126
 
virtual ImportControlNetWorkOrder * clone() const
This method clones the current ImportControlNetWorkOrder and returns it.
Definition ImportControlNetWorkOrder.cpp:92
 
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 postExecution()
Clears progress.
Definition ImportControlNetWorkOrder.cpp:199
 
The main project for ipce.
Definition Project.h:289
 
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition ProjectItem.h:134
 
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
 
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition WorkOrder.cpp:1298
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16