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
QNapi::ExtendedCallbackFuncWrapper< ExtraArgs > Class Template Reference

#include <qnapi_p.h>

Collaboration diagram for QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >:

Public Member Functions

template<typename Func>
 ExtendedCallbackFuncWrapper (Func &&callbackFunc, std::enable_if_t< std::is_void< std::result_of_t< Func(const Napi::CallbackInfo &, ExtraArgs...)> >::value, char * >=nullptr)
template<typename Func>
 ExtendedCallbackFuncWrapper (Func &&callbackFunc, std::enable_if_t< std::is_base_of< Napi::Value, std::result_of_t< Func(const Napi::CallbackInfo &, ExtraArgs...)> >::value, short * >=nullptr)
template<typename Func>
 ExtendedCallbackFuncWrapper (Func &&callbackFunc, std::enable_if_t< std::is_void< std::result_of_t< Func(ExtraArgs...)> >::value, int * >=nullptr)
template<typename Func>
 ExtendedCallbackFuncWrapper (Func &&callbackFunc, std::enable_if_t< std::is_base_of< Napi::Value, std::result_of_t< Func(ExtraArgs...)> >::value, long * >=nullptr)
std::function< Napi::Value(const Napi::CallbackInfo &, ExtraArgs...)> & callbackFunc ()

Detailed Description

template<typename... ExtraArgs>
class QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >

Definition at line 37 of file qnapi_p.h.

Constructor & Destructor Documentation

◆ ExtendedCallbackFuncWrapper() [1/4]

template<typename... ExtraArgs>
template<typename Func>
QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >::ExtendedCallbackFuncWrapper ( Func && callbackFunc,
std::enable_if_t< std::is_void< std::result_of_t< Func(const Napi::CallbackInfo &, ExtraArgs...)> >::value, char * > = nullptr )

Definition at line 782 of file qnapi_p.h.

References ExtendedCallbackFuncWrapper().

Referenced by ExtendedCallbackFuncWrapper(), and ExtendedCallbackFuncWrapper().

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

◆ ExtendedCallbackFuncWrapper() [2/4]

template<typename... ExtraArgs>
template<typename Func>
QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >::ExtendedCallbackFuncWrapper ( Func && callbackFunc,
std::enable_if_t< std::is_base_of< Napi::Value, std::result_of_t< Func(const Napi::CallbackInfo &, ExtraArgs...)> >::value, short * > = nullptr )

Definition at line 794 of file qnapi_p.h.

References ExtendedCallbackFuncWrapper().

Referenced by ExtendedCallbackFuncWrapper().

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

◆ ExtendedCallbackFuncWrapper() [3/4]

template<typename... ExtraArgs>
template<typename Func>
QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >::ExtendedCallbackFuncWrapper ( Func && callbackFunc,
std::enable_if_t< std::is_void< std::result_of_t< Func(ExtraArgs...)> >::value, int * > = nullptr )

Definition at line 802 of file qnapi_p.h.

References ExtendedCallbackFuncWrapper().

Here is the call graph for this function:

◆ ExtendedCallbackFuncWrapper() [4/4]

template<typename... ExtraArgs>
template<typename Func>
QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >::ExtendedCallbackFuncWrapper ( Func && callbackFunc,
std::enable_if_t< std::is_base_of< Napi::Value, std::result_of_t< Func(ExtraArgs...)> >::value, long * > = nullptr )

Definition at line 813 of file qnapi_p.h.

References ExtendedCallbackFuncWrapper().

Referenced by ExtendedCallbackFuncWrapper().

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

Member Function Documentation

◆ callbackFunc()

template<typename... ExtraArgs>
std::function< Napi::Value(const Napi::CallbackInfo &, ExtraArgs... extraArgs)> & QNapi::ExtendedCallbackFuncWrapper< ExtraArgs >::callbackFunc ( )

Definition at line 823 of file qnapi_p.h.


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