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 112 of file tasktree.h.

Member Typedef Documentation

◆ Condition

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

Definition at line 115 of file tasktree.h.

◆ ValueGetter

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

Definition at line 116 of file tasktree.h.

Constructor & Destructor Documentation

◆ Loop() [1/3]

Tasking::Loop::Loop ( )
protected

Definition at line 1360 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 1364 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 1368 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 1372 of file tasktree.cpp.

◆ valuePtr()

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

Definition at line 1377 of file tasktree.cpp.

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

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ExecutionContextActivator

friend class ExecutionContextActivator
friend

Definition at line 128 of file tasktree.h.

◆ TaskTreePrivate

friend class TaskTreePrivate
friend

Definition at line 129 of file tasktree.h.


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