Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Tasking::RuntimeContainer Class Reference
Collaboration diagram for Tasking::RuntimeContainer:

Public Member Functions

 RuntimeContainer (const ContainerNode &taskContainer, RuntimeTask *parentTask)
 ~RuntimeContainer ()
bool isStarting () const
RuntimeIterationparentIteration () const
bool updateSuccessBit (bool success)
void deleteFinishedIterations ()
int progressiveLoopCount () const
 RuntimeContainer (const ContainerNode &taskContainer, RuntimeTask *parentTask)
 ~RuntimeContainer ()
bool isStarting () const
RuntimeIterationparentIteration () const
bool updateSuccessBit (bool success)
void deleteFinishedIterations ()
int progressiveLoopCount () const

Static Public Member Functions

static QList< StoragePtrcreateStorages (const ContainerNode &container)
static QList< StoragePtrcreateStorages (const ContainerNode &container)

Public Attributes

const ContainerNodem_containerNode
RuntimeTaskm_parentTask = nullptr
const QList< StoragePtrm_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

Detailed Description

Definition at line 1982 of file tasktree.cpp.

Constructor & Destructor Documentation

◆ RuntimeContainer() [1/2]

Tasking::RuntimeContainer::RuntimeContainer ( const ContainerNode & taskContainer,
RuntimeTask * parentTask )
inline

Definition at line 1987 of file tasktree.cpp.

◆ ~RuntimeContainer() [1/2]

Tasking::RuntimeContainer::~RuntimeContainer ( )
inline

Definition at line 1995 of file tasktree.cpp.

◆ RuntimeContainer() [2/2]

Tasking::RuntimeContainer::RuntimeContainer ( const ContainerNode & taskContainer,
RuntimeTask * parentTask )
inline

Definition at line 1987 of file tasktree.cpp.

◆ ~RuntimeContainer() [2/2]

Tasking::RuntimeContainer::~RuntimeContainer ( )
inline

Definition at line 1995 of file tasktree.cpp.

Member Function Documentation

◆ createStorages() [1/2]

QList< StoragePtr > Tasking::RuntimeContainer::createStorages ( const ContainerNode & container)
static

Definition at line 2203 of file tasktree.cpp.

◆ createStorages() [2/2]

QList< StoragePtr > Tasking::RuntimeContainer::createStorages ( const ContainerNode & container)
static

◆ deleteFinishedIterations() [1/2]

void Tasking::RuntimeContainer::deleteFinishedIterations ( )

Definition at line 2235 of file tasktree.cpp.

References m_containerNode.

Referenced by Tasking::TaskTreePrivate::startChildren().

Here is the caller graph for this function:

◆ deleteFinishedIterations() [2/2]

void Tasking::RuntimeContainer::deleteFinishedIterations ( )

◆ isStarting() [1/2]

bool Tasking::RuntimeContainer::isStarting ( ) const
inline

Definition at line 2007 of file tasktree.cpp.

Referenced by Tasking::TaskTreePrivate::childDone(), and Tasking::TaskTreePrivate::continueContainer().

Here is the caller graph for this function:

◆ isStarting() [2/2]

bool Tasking::RuntimeContainer::isStarting ( ) const
inline

Definition at line 2007 of file tasktree.cpp.

◆ parentIteration() [1/2]

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().

Here is the caller graph for this function:

◆ parentIteration() [2/2]

RuntimeIteration * Tasking::RuntimeContainer::parentIteration ( ) const

◆ progressiveLoopCount() [1/2]

int Tasking::RuntimeContainer::progressiveLoopCount ( ) 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().

Here is the caller graph for this function:

◆ progressiveLoopCount() [2/2]

int Tasking::RuntimeContainer::progressiveLoopCount ( ) const
inline

Definition at line 2011 of file tasktree.cpp.

◆ updateSuccessBit() [1/2]

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().

Here is the caller graph for this function:

◆ updateSuccessBit() [2/2]

bool Tasking::RuntimeContainer::updateSuccessBit ( bool success)

Member Data Documentation

◆ m_callStorageDoneHandlersOnDestruction

bool Tasking::RuntimeContainer::m_callStorageDoneHandlersOnDestruction = false

Definition at line 2021 of file tasktree.cpp.

Referenced by Tasking::TaskTreePrivate::invokeDoneHandler().

◆ m_containerNode

◆ m_iterationCount

int Tasking::RuntimeContainer::m_iterationCount = 0

◆ m_iterations

std::vector< std::unique_ptr< RuntimeIteration > > Tasking::RuntimeContainer::m_iterations

Definition at line 2028 of file tasktree.cpp.

◆ m_nextToStart

int Tasking::RuntimeContainer::m_nextToStart = 0

Definition at line 2025 of file tasktree.cpp.

Referenced by Tasking::TaskTreePrivate::startChildren().

◆ m_parentTask

◆ m_runningChildren

int Tasking::RuntimeContainer::m_runningChildren = 0

◆ m_shouldIterate

bool Tasking::RuntimeContainer::m_shouldIterate = true

◆ m_startGuard

Guard Tasking::RuntimeContainer::m_startGuard

Definition at line 2022 of file tasktree.cpp.

◆ m_storages

const QList< StoragePtr > Tasking::RuntimeContainer::m_storages

Definition at line 2018 of file tasktree.cpp.

◆ m_successBit

bool Tasking::RuntimeContainer::m_successBit = true

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