An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
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_errors, 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(), and m_errors.
Referenced by Isis::ImportControlNetWorkOrder::execute().
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(), m_destinationFolder, m_errors, m_project, Isis::FileName::name(), Isis::ControlNet::ReadControl(), Isis::ControlNet::SetMutex(), and Isis::ControlNet::Write().
|
private |
The directory to copy the control net too.
Definition at line 110 of file ImportControlNetWorkOrder.h.
Referenced by CreateControlsFunctor(), and operator()().
|
private |
Stores any errors that occur during import.
Definition at line 111 of file ImportControlNetWorkOrder.h.
Referenced by CreateControlsFunctor(), errors(), and operator()().
|
private |
The project to import to.
Definition at line 109 of file ImportControlNetWorkOrder.h.
Referenced by CreateControlsFunctor(), and operator()().