Isis 3 Programmer Reference
|
This functor is used for copying the control nets between two projects quickly. More...
Public Member Functions | |
CopyControlDataFunctor (const Project *project, FileName newProjectRoot) | |
CopyControlDataFunctor constructor. | |
CopyControlDataFunctor (const CopyControlDataFunctor &other) | |
CopyControlDataFunctor copy constructor. | |
~CopyControlDataFunctor () | |
CopyControlDataFunctor destructor. | |
void * | operator() (Control *const &controlToCopy) |
Copies the Control from one project to another. | |
CopyControlDataFunctor & | operator= (const CopyControlDataFunctor &rhs) |
CopyControlDataFunctor assignment operator. | |
Private Attributes | |
const Project * | m_project |
Project to copy the control list to. | |
FileName | m_newProjectRoot |
The filename of the destination project's root. | |
This functor is used for copying the control nets between two projects quickly.
This is designed to work with QtConcurrentMap, though the results are all NULL (QtConcurrentMap is much faster than many QtConcurrentRun calls).
Definition at line 126 of file ControlList.h.
Isis::ControlList::CopyControlDataFunctor::CopyControlDataFunctor | ( | const Project * | project, |
FileName | newProjectRoot ) |
CopyControlDataFunctor constructor.
Definition at line 680 of file ControlList.cpp.
References m_newProjectRoot, and m_project.
Isis::ControlList::CopyControlDataFunctor::CopyControlDataFunctor | ( | const CopyControlDataFunctor & | other | ) |
CopyControlDataFunctor copy constructor.
other | The other CopyControlDataFunctor to initialize data from |
Definition at line 692 of file ControlList.cpp.
Isis::ControlList::CopyControlDataFunctor::~CopyControlDataFunctor | ( | ) |
CopyControlDataFunctor destructor.
Definition at line 701 of file ControlList.cpp.
void * Isis::ControlList::CopyControlDataFunctor::operator() | ( | Control *const & | controlToCopy | ) |
Copies the Control from one project to another.
controlToCopy | The Control to copy |
Definition at line 710 of file ControlList.cpp.
ControlList::CopyControlDataFunctor & Isis::ControlList::CopyControlDataFunctor::operator= | ( | const CopyControlDataFunctor & | rhs | ) |
CopyControlDataFunctor assignment operator.
rhs | The other CopyControlDataFunctor to copy from |
Definition at line 723 of file ControlList.cpp.
References m_project.
|
private |
The filename of the destination project's root.
Definition at line 138 of file ControlList.h.
Referenced by CopyControlDataFunctor().
|
private |
Project to copy the control list to.
Definition at line 137 of file ControlList.h.
Referenced by CopyControlDataFunctor(), and operator=().