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::Loop Class Reference

#include <tasktree.h>

Inheritance diagram for Tasking::Loop:
Collaboration diagram for Tasking::Loop:

Public Types

using Condition = std::function<bool(int)>
using ValueGetter = std::function<const void *(int)>

Public Member Functions

int iteration () const

Protected Member Functions

 Loop ()
 Loop (int count, const ValueGetter &valueGetter={})
 Loop (const Condition &condition)
const voidvaluePtr () const

Friends

class ExecutionContextActivator
class TaskTreePrivate

Detailed Description

Definition at line 118 of file tasktree.h.

Member Typedef Documentation

◆ Condition

using Tasking::Loop::Condition = std::function<bool(int)>

Definition at line 121 of file tasktree.h.

◆ ValueGetter

using Tasking::Loop::ValueGetter = std::function<const void *(int)>

Definition at line 122 of file tasktree.h.

Constructor & Destructor Documentation

◆ Loop() [1/3]

Tasking::Loop::Loop ( )
protected

Definition at line 1391 of file tasktree.cpp.

References Loop().

Referenced by Loop(), and Tasking::LoopForever::LoopForever().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Loop() [2/3]

Tasking::Loop::Loop ( int count,
const ValueGetter & valueGetter = {} )
protected

Definition at line 1395 of file tasktree.cpp.

References Loop().

Referenced by Loop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Loop() [3/3]

Tasking::Loop::Loop ( const Condition & condition)
protected

Definition at line 1399 of file tasktree.cpp.

References Loop().

Referenced by Loop().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ iteration()

int Tasking::Loop::iteration ( ) const

Definition at line 1403 of file tasktree.cpp.

◆ valuePtr()

const void * Tasking::Loop::valuePtr ( ) const
protected

Definition at line 1408 of file tasktree.cpp.

Referenced by Tasking::LoopList< T >::operator*(), and Tasking::LoopList< T >::operator->().

Here is the caller graph for this function:

◆ ExecutionContextActivator

friend class ExecutionContextActivator
friend

Definition at line 134 of file tasktree.h.

◆ TaskTreePrivate

friend class TaskTreePrivate
friend

Definition at line 135 of file tasktree.h.


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