Isis 3 Programmer Reference
|
Public Member Functions | |
CreateControlsFunctor (Project *project, QDir destinationFolder) | |
CreateControlsFunctor constructor. | |
Control * | operator() (const QPair< FileName, Progress * > &cnetFilename) |
Reads and writes the control network(s) asynchronously. | |
IException | errors () const |
Indicates if any errors occurred during the import. | |
Private Attributes | |
Project * | m_project |
The project to import to. | |
QDir | m_destinationFolder |
The directory to copy the control net too. | |
QSharedPointer< IException > | m_errors |
Stores any errors that occur during import. | |
Definition at line 101 of file ImportControlNetWorkOrder.h.
Isis::ImportControlNetWorkOrder::CreateControlsFunctor::CreateControlsFunctor | ( | Project * | project, |
QDir | destinationFolder ) |
CreateControlsFunctor constructor.
project | The project |
destinationFolder | The directory to copy to |
Definition at line 223 of file ImportControlNetWorkOrder.cpp.
References m_destinationFolder, m_project, and Isis::WorkOrder::project().
IException Isis::ImportControlNetWorkOrder::CreateControlsFunctor::errors | ( | ) | const |
Indicates if any errors occurred during the import.
Returns an IException that details any errors that occurred during the import. Note that if there have been 20 or more errors, the exception returned will indicate that the import was aborted because too many errors have occurred.
Definition at line 239 of file ImportControlNetWorkOrder.cpp.
References Isis::IException::append().
Control * Isis::ImportControlNetWorkOrder::CreateControlsFunctor::operator() | ( | const QPair< FileName, Progress * > & | cnetFileNameAndProgress | ) |
Reads and writes the control network(s) asynchronously.
&cnetFileNameAndProgress | QPair of control net filenames, and the progress |
Definition at line 255 of file ImportControlNetWorkOrder.cpp.
References Isis::Control::closeControlNet(), Isis::WorkOrder::m_project, and Isis::FileName::name().
|
private |
The directory to copy the control net too.
Definition at line 110 of file ImportControlNetWorkOrder.h.
Referenced by CreateControlsFunctor().
|
private |
Stores any errors that occur during import.
Definition at line 111 of file ImportControlNetWorkOrder.h.
|
private |
The project to import to.
Definition at line 109 of file ImportControlNetWorkOrder.h.
Referenced by CreateControlsFunctor().