![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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 |
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) |
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 1982 of file tasktree.cpp.
|
inline |
Definition at line 1987 of file tasktree.cpp.
|
inline |
Definition at line 1995 of file tasktree.cpp.
|
inline |
Definition at line 1987 of file tasktree.cpp.
|
inline |
Definition at line 1995 of file tasktree.cpp.
|
static |
Definition at line 2203 of file tasktree.cpp.
|
static |
void Tasking::RuntimeContainer::deleteFinishedIterations | ( | ) |
Definition at line 2235 of file tasktree.cpp.
References m_containerNode.
Referenced by Tasking::TaskTreePrivate::startChildren().
void Tasking::RuntimeContainer::deleteFinishedIterations | ( | ) |
|
inline |
Definition at line 2007 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::continueContainer().
|
inline |
Definition at line 2007 of file tasktree.cpp.
RuntimeIteration * Tasking::RuntimeContainer::parentIteration | ( | ) | const |
Definition at line 2214 of file tasktree.cpp.
References Tasking::RuntimeTask::m_parentIteration, and m_parentTask.
Referenced by Tasking::TaskTreePrivate::continueContainer().
RuntimeIteration * Tasking::RuntimeContainer::parentIteration | ( | ) | const |
|
inline |
Definition at line 2011 of file tasktree.cpp.
References m_containerNode, and Tasking::ContainerNode::m_taskTreePrivate.
Referenced by Tasking::RuntimeIteration::RuntimeIteration(), and Tasking::TaskTreePrivate::stopContainer().
|
inline |
Definition at line 2011 of file tasktree.cpp.
bool Tasking::RuntimeContainer::updateSuccessBit | ( | bool | success | ) |
Definition at line 2219 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::continueContainer().
bool Tasking::RuntimeContainer::updateSuccessBit | ( | bool | success | ) |
bool Tasking::RuntimeContainer::m_callStorageDoneHandlersOnDestruction = false |
Definition at line 2021 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::invokeDoneHandler().
const ContainerNode & Tasking::RuntimeContainer::m_containerNode |
Definition at line 2016 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::childDone(), deleteFinishedIterations(), Tasking::TaskTreePrivate::invokeDoneHandler(), Tasking::TaskTreePrivate::invokeLoopHandler(), Tasking::RuntimeIteration::loop(), progressiveLoopCount(), Tasking::TaskTreePrivate::startChildren(), Tasking::TaskTreePrivate::stopContainer(), and updateSuccessBit().
int Tasking::RuntimeContainer::m_iterationCount = 0 |
Definition at line 2024 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::invokeLoopHandler(), Tasking::TaskTreePrivate::startChildren(), and Tasking::TaskTreePrivate::stopContainer().
std::vector< std::unique_ptr< RuntimeIteration > > Tasking::RuntimeContainer::m_iterations |
Definition at line 2028 of file tasktree.cpp.
int Tasking::RuntimeContainer::m_nextToStart = 0 |
Definition at line 2025 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::startChildren().
RuntimeTask * Tasking::RuntimeContainer::m_parentTask = nullptr |
Definition at line 2017 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::childDone(), Tasking::TaskTreePrivate::continueContainer(), Tasking::isProgressive(), parentIteration(), Tasking::TaskTreePrivate::startChildren(), and Tasking::TaskTreePrivate::startTask().
int Tasking::RuntimeContainer::m_runningChildren = 0 |
Definition at line 2026 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::startChildren().
bool Tasking::RuntimeContainer::m_shouldIterate = true |
Definition at line 2027 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::invokeLoopHandler(), and Tasking::TaskTreePrivate::startChildren().
Guard Tasking::RuntimeContainer::m_startGuard |
Definition at line 2022 of file tasktree.cpp.
const QList< StoragePtr > Tasking::RuntimeContainer::m_storages |
Definition at line 2018 of file tasktree.cpp.
bool Tasking::RuntimeContainer::m_successBit = true |
Definition at line 2020 of file tasktree.cpp.
Referenced by Tasking::TaskTreePrivate::startChildren(), Tasking::TaskTreePrivate::startTask(), and updateSuccessBit().