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
QOhosTaskPromise< Args > Class Template Reference

#include <qohoscommon_p.h>

Collaboration diagram for QOhosTaskPromise< Args >:

Public Member Functions

template<typename F, typename = std::enable_if_t<!std::is_same<std::decay_t<F>, QOhosTaskPromise>::value>>
 QOhosTaskPromise (F &&callable, std::function< void()> optOnDestroyedWithoutCall, std::string callerContextName={})
 ~QOhosTaskPromise ()
 QOhosTaskPromise (QOhosTaskPromise &&)=default
QOhosTaskPromiseoperator= (QOhosTaskPromise &&)=default
 QOhosTaskPromise (const QOhosTaskPromise &)=delete
QOhosTaskPromiseoperator= (const QOhosTaskPromise &)=delete
void operator() (Args... args) const
QOhosTaskPromise makeChained (std::string callerContextName) &&
template<typename... ContextNames>
std::array< QOhosTaskPromise, sizeof...(ContextNames)> makeBranched (ContextNames &&...branchContextNames) &&
std::pair< QOhosTaskPromise, QOhosTaskPromisemakeThenCatchBranches (std::string callerContextName) &&
 operator std::function< void (Args...)>() &&
template<typename... ContextNames>
std::array< QOhosTaskPromise< Args... >, sizeof...(ContextNames)> makeBranched (ContextNames &&...branchContextNames) &&

Detailed Description

template<typename... Args>
class QOhosTaskPromise< Args >

Definition at line 54 of file qohoscommon_p.h.

Constructor & Destructor Documentation

◆ QOhosTaskPromise() [1/3]

template<typename... Args>
template<typename F, typename>
QOhosTaskPromise< Args >::QOhosTaskPromise ( F && callable,
std::function< void()> optOnDestroyedWithoutCall,
std::string callerContextName = {} )

Definition at line 328 of file qohoscommon_p.h.

References QOhosTaskPromise().

Referenced by QOhosTaskPromise().

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

◆ ~QOhosTaskPromise()

template<typename... Args>
QOhosTaskPromise< Args >::~QOhosTaskPromise ( )

Definition at line 344 of file qohoscommon_p.h.

◆ QOhosTaskPromise() [2/3]

template<typename... Args>
QOhosTaskPromise< Args >::QOhosTaskPromise ( QOhosTaskPromise< Args > && )
default

◆ QOhosTaskPromise() [3/3]

template<typename... Args>
QOhosTaskPromise< Args >::QOhosTaskPromise ( const QOhosTaskPromise< Args > & )
delete

Member Function Documentation

◆ makeBranched() [1/2]

template<typename... Args>
template<typename... ContextNames>
std::array< QOhosTaskPromise< Args... >, sizeof...(ContextNames)> QOhosTaskPromise< Args >::makeBranched ( ContextNames &&... branchContextNames) &&

Definition at line 440 of file qohoscommon_p.h.

◆ makeBranched() [2/2]

template<typename... Args>
template<typename... ContextNames>
std::array< QOhosTaskPromise, sizeof...(ContextNames)> QOhosTaskPromise< Args >::makeBranched ( ContextNames &&... branchContextNames) &&

◆ makeChained()

template<typename... Args>
QOhosTaskPromise< Args... > QOhosTaskPromise< Args >::makeChained ( std::string callerContextName) &&

Definition at line 422 of file qohoscommon_p.h.

◆ makeThenCatchBranches()

template<typename... Args>
std::pair< QOhosTaskPromise< Args... >, QOhosTaskPromise< Args... > > QOhosTaskPromise< Args >::makeThenCatchBranches ( std::string callerContextName) &&

Definition at line 460 of file qohoscommon_p.h.

◆ operator std::function< void()

template<typename... Args>
QOhosTaskPromise< Args >::operator std::function< void ( Args... ) &&

Definition at line 383 of file qohoscommon_p.h.

◆ operator()()

template<typename... Args>
void QOhosTaskPromise< Args >::operator() ( Args... args) const

Definition at line 369 of file qohoscommon_p.h.

◆ operator=() [1/2]

template<typename... Args>
QOhosTaskPromise & QOhosTaskPromise< Args >::operator= ( const QOhosTaskPromise< Args > & )
delete

◆ operator=() [2/2]

template<typename... Args>
QOhosTaskPromise & QOhosTaskPromise< Args >::operator= ( QOhosTaskPromise< Args > && )
default

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