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
QtPrivate::CanceledHandler< Function, ResultType > Class Template Reference

#include <qfuture_impl.h>

+ Collaboration diagram for QtPrivate::CanceledHandler< Function, ResultType >:

Static Public Member Functions

template<class F = Function>
static void create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi)
 
template<class F = Function>
static void create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi, QObject *context)
 
template<class F = Function>
static void run (F &&handler, QFuture< ResultType > &parentFuture, QPromise< ResultType > &&promise)
 

Detailed Description

template<class Function, class ResultType>
class QtPrivate::CanceledHandler< Function, ResultType >

Definition at line 770 of file qfuture_impl.h.

Member Function Documentation

◆ create() [1/2]

template<class Function, class ResultType>
template<class F = Function>
static void QtPrivate::CanceledHandler< Function, ResultType >::create ( F && handler,
QFuture< ResultType > * future,
QFutureInterface< ResultType > & fi )
inlinestatic

Definition at line 774 of file qfuture_impl.h.

References QFutureInterface< T >::~QFutureInterface().

+ Here is the call graph for this function:

◆ create() [2/2]

template<class Function, class ResultType>
template<class F = Function>
static void QtPrivate::CanceledHandler< Function, ResultType >::create ( F && handler,
QFuture< ResultType > * future,
QFutureInterface< ResultType > & fi,
QObject * context )
inlinestatic

Definition at line 788 of file qfuture_impl.h.

◆ run()

template<class Function, class ResultType>
template<class F = Function>
static void QtPrivate::CanceledHandler< Function, ResultType >::run ( F && handler,
QFuture< ResultType > & parentFuture,
QPromise< ResultType > && promise )
inlinestatic

Definition at line 804 of file qfuture_impl.h.


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