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::FunctorCallable< Func, Args > Struct Template Reference

#include <qobjectdefs_impl.h>

+ Collaboration diagram for QtPrivate::FunctorCallable< Func, Args >:

Public Types

enum  { ArgumentCount = sizeof...(Args) }
 
using ReturnType = std::invoke_result_t<Func, Args...>
 
using Function = ReturnType(*)(Args...)
 
using Arguments = QtPrivate::List<Args...>
 

Static Public Member Functions

template<typename SignalArgs, typename R>
static void call (Func &f, void *, void **arg)
 

Detailed Description

template<typename Func, typename... Args>
struct QtPrivate::FunctorCallable< Func, Args >

Definition at line 328 of file qobjectdefs_impl.h.

Member Typedef Documentation

◆ Arguments

template<typename Func, typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::Arguments = QtPrivate::List<Args...>

Definition at line 333 of file qobjectdefs_impl.h.

◆ Function

template<typename Func, typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::Function = ReturnType(*)(Args...)

Definition at line 331 of file qobjectdefs_impl.h.

◆ ReturnType

template<typename Func, typename... Args>
using QtPrivate::FunctorCallable< Func, Args >::ReturnType = std::invoke_result_t<Func, Args...>

Definition at line 330 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Func, typename... Args>
anonymous enum
Enumerator
ArgumentCount 

Definition at line 332 of file qobjectdefs_impl.h.

Member Function Documentation

◆ call()

template<typename Func, typename... Args>
template<typename SignalArgs, typename R>
static void QtPrivate::FunctorCallable< Func, Args >::call ( Func & f,
void * ,
void ** arg )
inlinestatic

Definition at line 336 of file qobjectdefs_impl.h.

Referenced by coverage_report.CoverageExecutor::build_binaries(), coverage_report.CoverageExecutor::generate_coverage(), coverage_report.CoverageExecutor::generate_html_report(), and coverage_report.CoverageExecutor::merge_raw_coverage_results().

+ Here is the caller graph for this function:

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