QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | List of all members
QtPrivate::FailureHandler< Function, ResultType > Class Template Reference

#include <qfuture_impl.h>

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 412 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 424 of file qfuture_impl.h.

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 703 of file qfuture_impl.h.

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 721 of file qfuture_impl.h.

Here is the call graph for this function:

◆ run()

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

Definition at line 745 of file qfuture_impl.h.

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

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