Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... > Struct Template Reference

#include <qtconcurrentstoredfunctioncall.h>

+ Collaboration diagram for QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... >:

Public Types

using Type = std::tuple<std::decay_t<Function>, std::decay_t<Arg>, QPromise<PromiseType> &, std::decay_t<Args>...>
 

Static Public Member Functions

static constexpr void invoke (std::decay_t< Function > function, std::decay_t< Arg > object, QPromise< PromiseType > &promise, std::decay_t< Args >... args)
 
static Type initData (Function &&f, QPromise< PromiseType > &promise, Arg &&fa, Args &&...args)
 

Detailed Description

template<typename Function, typename PromiseType, typename Arg, typename ... Args>
struct QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... >

Definition at line 48 of file qtconcurrentstoredfunctioncall.h.

Member Typedef Documentation

◆ Type

template<typename Function , typename PromiseType , typename Arg , typename ... Args>
using QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... >::Type = std::tuple<std::decay_t<Function>, std::decay_t<Arg>, QPromise<PromiseType> &, std::decay_t<Args>...>

Definition at line 50 of file qtconcurrentstoredfunctioncall.h.

Member Function Documentation

◆ initData()

template<typename Function , typename PromiseType , typename Arg , typename ... Args>
static Type QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... >::initData ( Function && f,
QPromise< PromiseType > & promise,
Arg && fa,
Args &&... args )
inlinestatic

Definition at line 61 of file qtconcurrentstoredfunctioncall.h.

References args.

◆ invoke()

template<typename Function , typename PromiseType , typename Arg , typename ... Args>
static constexpr void QtConcurrent::MemberFunctionResolver< Function, PromiseType, Arg, Args... >::invoke ( std::decay_t< Function > function,
std::decay_t< Arg > object,
QPromise< PromiseType > & promise,
std::decay_t< Args >... args )
inlinestaticconstexpr

Definition at line 56 of file qtconcurrentstoredfunctioncall.h.

References args.


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