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

#include <qfuture_impl.h>

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

Public Member Functions

template<typename F = Function>
 FailureHandler (F &&func, const QFuture< ResultType > &f, QPromise< ResultType > &&p)
 
void run ()
 

Static Public Member Functions

template<typename F = Function>
static void create (F &&function, QFuture< ResultType > *future, const QFutureInterface< ResultType > &fi)
 
template<typename F = Function>
static void create (F &&function, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi, QObject *context)
 

Detailed Description

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

Definition at line 371 of file qfuture_impl.h.

Constructor & Destructor Documentation

◆ FailureHandler()

template<class Function, class ResultType>
template<typename F = Function>
QtPrivate::FailureHandler< Function, ResultType >::FailureHandler ( F && func,
const QFuture< ResultType > & f,
QPromise< ResultType > && p )
inline

Definition at line 383 of file qfuture_impl.h.

References FailureHandler().

Referenced by FailureHandler().

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

Member Function Documentation

◆ create() [1/2]

template<class Function, class ResultType>
template<class F>
void QtPrivate::FailureHandler< Function, ResultType >::create ( F && function,
QFuture< ResultType > * future,
const QFutureInterface< ResultType > & fi )
static

Definition at line 669 of file qfuture_impl.h.

References QFutureInterface< T >::~QFutureInterface(), and run().

+ Here is the call graph for this function:

◆ create() [2/2]

template<class Function, class ResultType>
template<class F>
void QtPrivate::FailureHandler< Function, ResultType >::create ( F && function,
QFuture< ResultType > * future,
QFutureInterface< ResultType > & fi,
QObject * context )
static

Definition at line 688 of file qfuture_impl.h.

References run().

+ Here is the call graph for this function:

◆ run()

template<class Function, class ResultType>
void QtPrivate::FailureHandler< Function, ResultType >::run ( )

Definition at line 707 of file qfuture_impl.h.

Referenced by create(), and create().

+ Here is the caller graph for this function:

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