Isis 3 Programmer Reference
Isis::ImportControlNetWorkOrder::CreateControlsFunctor Class Reference
Inheritance diagram for Isis::ImportControlNetWorkOrder::CreateControlsFunctor:
Inheritance graph
Collaboration diagram for Isis::ImportControlNetWorkOrder::CreateControlsFunctor:
Collaboration graph

Public Member Functions

 CreateControlsFunctor (Project *project, QDir destinationFolder)
 CreateControlsFunctor constructor.
 
Controloperator() (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

Projectm_project
 The project to import to.
 
QDir m_destinationFolder
 The directory to copy the control net too.
 
QSharedPointer< IExceptionm_errors
 Stores any errors that occur during import.
 

Detailed Description

Author
????-??-?? ???

Definition at line 101 of file ImportControlNetWorkOrder.h.

Constructor & Destructor Documentation

◆ CreateControlsFunctor()

Isis::ImportControlNetWorkOrder::CreateControlsFunctor::CreateControlsFunctor ( Project * project,
QDir destinationFolder )

CreateControlsFunctor constructor.

Parameters
projectThe project
destinationFolderThe directory to copy to

Definition at line 223 of file ImportControlNetWorkOrder.cpp.

References m_destinationFolder, m_project, and Isis::WorkOrder::project().

Member Function Documentation

◆ errors()

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.

Returns
IExecption Returns an IException indicating what errors occured during the import.

Definition at line 239 of file ImportControlNetWorkOrder.cpp.

References Isis::IException::append().

◆ operator()()

Control * Isis::ImportControlNetWorkOrder::CreateControlsFunctor::operator() ( const QPair< FileName, Progress * > & cnetFileNameAndProgress)

Reads and writes the control network(s) asynchronously.

Parameters
&cnetFileNameAndProgressQPair of control net filenames, and the progress
Returns
Control Pointer to the Control created from the import

Definition at line 255 of file ImportControlNetWorkOrder.cpp.

References Isis::Control::closeControlNet(), Isis::WorkOrder::m_project, and Isis::FileName::name().

Member Data Documentation

◆ m_destinationFolder

QDir Isis::ImportControlNetWorkOrder::CreateControlsFunctor::m_destinationFolder
private

The directory to copy the control net too.

Definition at line 110 of file ImportControlNetWorkOrder.h.

Referenced by CreateControlsFunctor().

◆ m_errors

QSharedPointer<IException> Isis::ImportControlNetWorkOrder::CreateControlsFunctor::m_errors
private

Stores any errors that occur during import.

Definition at line 111 of file ImportControlNetWorkOrder.h.

◆ m_project

Project* Isis::ImportControlNetWorkOrder::CreateControlsFunctor::m_project
private

The project to import to.

Definition at line 109 of file ImportControlNetWorkOrder.h.

Referenced by CreateControlsFunctor().


The documentation for this class was generated from the following files: