![]() |
Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
RuntimeContainer (const ContainerNode &taskContainer, RuntimeTask *parentTask) | |
~RuntimeContainer () | |
bool | isStarting () const |
RuntimeIteration * | parentIteration () const |
bool | updateSuccessBit (bool success) |
void | deleteFinishedIterations () |
int | progressiveLoopCount () const |
Static Public Member Functions | |
static QList< StoragePtr > | createStorages (const ContainerNode &container) |
Public Attributes | |
const ContainerNode & | m_containerNode |
RuntimeTask * | m_parentTask = nullptr |
const QList< StoragePtr > | m_storages |
bool | m_successBit = true |
bool | m_callStorageDoneHandlersOnDestruction = false |
Guard | m_startGuard |
int | m_iterationCount = 0 |
int | m_nextToStart = 0 |
int | m_runningChildren = 0 |
bool | m_shouldIterate = true |
std::vector< std::unique_ptr< RuntimeIteration > > | m_iterations |
Definition at line 1708 of file tasktree.cpp.
|
inline |
Definition at line 1713 of file tasktree.cpp.
|
inline |
Definition at line 1721 of file tasktree.cpp.
References Tasking::TaskTreePrivate::callDoneHandler(), i, m_callStorageDoneHandlersOnDestruction, m_containerNode, Tasking::ContainerNode::m_storageList, m_storages, Tasking::ContainerNode::m_taskTreePrivate, storage, and QList< T >::value().
|
static |
Definition at line 1922 of file tasktree.cpp.
References Tasking::TaskTreePrivate::callSetupHandler(), Tasking::ContainerNode::m_storageList, Tasking::ContainerNode::m_taskTreePrivate, and storage.
void Tasking::RuntimeContainer::deleteFinishedIterations | ( | ) |
Definition at line 1954 of file tasktree.cpp.
References QSet< T >::cbegin(), QSet< T >::cend(), QSet< T >::erase(), it, Tasking::ContainerNode::m_children, m_containerNode, and m_iterations.
Referenced by Tasking::TaskTreePrivate::startChildren().
|
inline |
Definition at line 1733 of file tasktree.cpp.
References Tasking::Guard::isLocked(), and m_startGuard.
Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::continueStart().
RuntimeIteration * Tasking::RuntimeContainer::parentIteration | ( | ) | const |
Definition at line 1933 of file tasktree.cpp.
References Tasking::RuntimeTask::m_parentIteration, and m_parentTask.
Referenced by Tasking::TaskTreePrivate::continueStart().
|
inline |
Definition at line 1737 of file tasktree.cpp.
References Tasking::TaskTreePrivate::effectiveLoopCount(), m_containerNode, Tasking::ContainerNode::m_loop, and Tasking::ContainerNode::m_taskTreePrivate.
Referenced by Tasking::TaskTreePrivate::stop().
bool Tasking::RuntimeContainer::updateSuccessBit | ( | bool | success | ) |
Definition at line 1938 of file tasktree.cpp.
References Tasking::ContinueOnSuccess, Tasking::FinishAllAndError, Tasking::FinishAllAndSuccess, m_containerNode, m_successBit, Tasking::ContainerNode::m_workflowPolicy, Tasking::StopOnSuccess, and Tasking::StopOnSuccessOrError.
Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::continueStart().
bool Tasking::RuntimeContainer::m_callStorageDoneHandlersOnDestruction = false |
Definition at line 1747 of file tasktree.cpp.
Referenced by ~RuntimeContainer(), and Tasking::TaskTreePrivate::invokeDoneHandler().
const ContainerNode& Tasking::RuntimeContainer::m_containerNode |
Definition at line 1742 of file tasktree.cpp.
Referenced by ~RuntimeContainer(), Tasking::TaskTreePrivate::childDone(), deleteFinishedIterations(), Tasking::TaskTreePrivate::invokeDoneHandler(), Tasking::TaskTreePrivate::invokeLoopHandler(), Tasking::RuntimeIteration::loop(), progressiveLoopCount(), Tasking::TaskTreePrivate::start(), Tasking::TaskTreePrivate::startChildren(), Tasking::TaskTreePrivate::stop(), and updateSuccessBit().
int Tasking::RuntimeContainer::m_iterationCount = 0 |
Definition at line 1750 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::invokeLoopHandler(), Tasking::TaskTreePrivate::startChildren(), and Tasking::TaskTreePrivate::stop().
std::vector<std::unique_ptr<RuntimeIteration> > Tasking::RuntimeContainer::m_iterations |
Definition at line 1754 of file tasktree.cpp.
Referenced by deleteFinishedIterations(), Tasking::TaskTreePrivate::startChildren(), and Tasking::TaskTreePrivate::stop().
int Tasking::RuntimeContainer::m_nextToStart = 0 |
Definition at line 1751 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::startChildren().
RuntimeTask* Tasking::RuntimeContainer::m_parentTask = nullptr |
Definition at line 1743 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::continueStart(), Tasking::TaskTreePrivate::invokeDoneHandler(), Tasking::isProgressive(), and parentIteration().
int Tasking::RuntimeContainer::m_runningChildren = 0 |
Definition at line 1752 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::startChildren().
bool Tasking::RuntimeContainer::m_shouldIterate = true |
Definition at line 1753 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::invokeLoopHandler(), and Tasking::TaskTreePrivate::startChildren().
Guard Tasking::RuntimeContainer::m_startGuard |
Definition at line 1748 of file tasktree.cpp.
Referenced by isStarting(), and Tasking::TaskTreePrivate::startChildren().
const QList<StoragePtr> Tasking::RuntimeContainer::m_storages |
Definition at line 1744 of file tasktree.cpp.
Referenced by ~RuntimeContainer().
bool Tasking::RuntimeContainer::m_successBit = true |
Definition at line 1746 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::start(), Tasking::TaskTreePrivate::startChildren(), and updateSuccessBit().