载入中...
搜索中...
未找到
eve::script::detail::MemberCall< Pointer, R, C, Args > 模板结构体 参考

#include <ScriptBinding.h>

Public 类型

using Result = R
 

静态 Public 成员函数

static void params (char *out)
 
template<size_t... I>
static R invoke (HSQUIRRELVM vm, Pointer fn, std::index_sequence< I... >)
 
static R invoke (HSQUIRRELVM vm, Pointer fn)
 

静态 Public 属性

static constexpr size_t arity = sizeof...(Args) + 1
 

详细描述

template<class Pointer, class R, class C, class... Args>
struct eve::script::detail::MemberCall< Pointer, R, C, Args >

在文件 ScriptBinding.h 第 33 行定义.

成员类型定义说明

◆ Result

template<class Pointer , class R , class C , class... Args>
using eve::script::detail::MemberCall< Pointer, R, C, Args >::Result = R

在文件 ScriptBinding.h 第 34 行定义.

成员函数说明

◆ invoke() [1/2]

template<class Pointer , class R , class C , class... Args>
static R eve::script::detail::MemberCall< Pointer, R, C, Args >::invoke ( HSQUIRRELVM  vm,
Pointer  fn 
)
inlinestatic

◆ invoke() [2/2]

template<class Pointer , class R , class C , class... Args>
template<size_t... I>
static R eve::script::detail::MemberCall< Pointer, R, C, Args >::invoke ( HSQUIRRELVM  vm,
Pointer  fn,
std::index_sequence< I... >   
)
inlinestatic

Borrows the receiver from the active VM stack. @ownership Borrowed; instance ownership remains with its existing owner. @lifetime Used only during this synchronous invocation; never retained.

在文件 ScriptBinding.h 第 38 行定义.

引用了 fn , 以及 vm.

◆ params()

template<class Pointer , class R , class C , class... Args>
static void eve::script::detail::MemberCall< Pointer, R, C, Args >::params ( char *  out)
inlinestatic

在文件 ScriptBinding.h 第 36 行定义.

引用了 out.

类成员变量说明

◆ arity

template<class Pointer , class R , class C , class... Args>
constexpr size_t eve::script::detail::MemberCall< Pointer, R, C, Args >::arity = sizeof...(Args) + 1
staticconstexpr

在文件 ScriptBinding.h 第 35 行定义.


该结构体的文档由以下文件生成: