![]() |
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. More... | |
CopyControlDataFunctor (const CopyControlDataFunctor &other) | |
CopyControlDataFunctor copy constructor. More... | |
~CopyControlDataFunctor () | |
CopyControlDataFunctor destructor. More... | |
void * | operator() (Control *const &controlToCopy) |
Copies the Control from one project to another. More... | |
CopyControlDataFunctor & | operator= (const CopyControlDataFunctor &rhs) |
CopyControlDataFunctor assignment operator. More... | |
Private Attributes | |
const Project * | m_project |
Project to copy the control list to. More... | |
FileName | m_newProjectRoot |
The filename of the destination project's root. More... | |
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 118 of file ControlList.h.
Isis::ControlList::CopyControlDataFunctor::CopyControlDataFunctor | ( | const Project * | project, |
FileName | newProjectRoot | ||
) |
CopyControlDataFunctor constructor.
Definition at line 694 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 706 of file ControlList.cpp.
References m_newProjectRoot, and m_project.
Isis::ControlList::CopyControlDataFunctor::~CopyControlDataFunctor | ( | ) |
CopyControlDataFunctor destructor.
Definition at line 715 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 724 of file ControlList.cpp.
References Isis::Control::copyToNewProjectRoot().
ControlList::CopyControlDataFunctor & Isis::ControlList::CopyControlDataFunctor::operator= | ( | const CopyControlDataFunctor & | rhs | ) |
CopyControlDataFunctor assignment operator.
rhs | The other CopyControlDataFunctor to copy from |
Definition at line 737 of file ControlList.cpp.
References m_newProjectRoot, and m_project.
|
private |
The filename of the destination project's root.
Definition at line 130 of file ControlList.h.
Referenced by CopyControlDataFunctor(), and operator=().
|
private |
Project to copy the control list to.
Definition at line 129 of file ControlList.h.
Referenced by CopyControlDataFunctor(), and operator=().