Ardour  9.0-pre0-582-g084a23a80d
CFunc::CallMember< MemFnPtr, ReturnType > Struct Template Reference

#include <CFunctions.h>

Public Types

typedef FuncTraits< MemFnPtr >::ClassType T
 
typedef FuncTraits< MemFnPtr >::Params Params
 

Static Public Member Functions

static int f (lua_State *L)
 

Detailed Description

template<class MemFnPtr, class ReturnType = typename FuncTraits <MemFnPtr>::ReturnType>
struct CFunc::CallMember< MemFnPtr, ReturnType >

lua_CFunction to call a class member function with a return value.

The member function pointer is in the first upvalue. The class userdata object is at the top of the Lua stack.

Definition at line 300 of file CFunctions.h.

Member Typedef Documentation

◆ Params

template<class MemFnPtr , class ReturnType = typename FuncTraits <MemFnPtr>::ReturnType>
typedef FuncTraits<MemFnPtr>::Params CFunc::CallMember< MemFnPtr, ReturnType >::Params

Definition at line 303 of file CFunctions.h.

◆ T

template<class MemFnPtr , class ReturnType = typename FuncTraits <MemFnPtr>::ReturnType>
typedef FuncTraits<MemFnPtr>::ClassType CFunc::CallMember< MemFnPtr, ReturnType >::T

Definition at line 302 of file CFunctions.h.

Member Function Documentation

◆ f()

template<class MemFnPtr , class ReturnType = typename FuncTraits <MemFnPtr>::ReturnType>
static int CFunc::CallMember< MemFnPtr, ReturnType >::f ( lua_State L)
inlinestatic

Definition at line 305 of file CFunctions.h.


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