Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sol::function_detail::member_function< T, Function, is_yielding, no_trampoline > Struct Template Reference

#include <sol.hpp>

Public Types

typedef meta::function_args_t< function_typeargs_lists
 
typedef std::remove_pointer_t< std::decay_t< Function > > function_type
 
typedef meta::function_return_t< function_typereturn_type
 
using traits_type = meta::bind_traits< function_type >
 

Public Member Functions

template<typename... Args>
 member_function (function_type f, Args &&... args) noexcept(std::is_nothrow_constructible_v< function_type, function_type > &&std::is_nothrow_constructible_v< T, Args... >)
 
int operator() (lua_State *L) noexcept(traits_type::is_noexcept)
 

Static Public Member Functions

static int call (lua_State *L, member_function &self) noexcept(traits_type::is_noexcept)
 

Public Attributes

function_type invocation
 
member
 

Detailed Description

template<typename T, typename Function, bool is_yielding, bool no_trampoline>
struct sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >

Definition at line 19517 of file sol.hpp.

Member Typedef Documentation

◆ args_lists

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
typedef meta::function_args_t<function_type> sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::args_lists

Definition at line 19520 of file sol.hpp.

◆ function_type

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
typedef std::remove_pointer_t<std::decay_t<Function> > sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::function_type

Definition at line 19518 of file sol.hpp.

◆ return_type

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
typedef meta::function_return_t<function_type> sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::return_type

Definition at line 19519 of file sol.hpp.

◆ traits_type

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
using sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::traits_type = meta::bind_traits<function_type>

Definition at line 19521 of file sol.hpp.

Constructor & Destructor Documentation

◆ member_function()

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
template<typename... Args>
sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::member_function ( function_type  f,
Args &&...  args 
)
inlinenoexcept

Definition at line 19526 of file sol.hpp.

Member Function Documentation

◆ call()

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
static int sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::call ( lua_State L,
member_function< T, Function, is_yielding, no_trampoline > &  self 
)
inlinestaticnoexcept

Definition at line 19531 of file sol.hpp.

◆ operator()()

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
int sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::operator() ( lua_State L)
inlinenoexcept

Definition at line 19547 of file sol.hpp.

Member Data Documentation

◆ invocation

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
function_type sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::invocation

Definition at line 19522 of file sol.hpp.

◆ member

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
T sol::function_detail::member_function< T, Function, is_yielding, no_trampoline >::member

Definition at line 19523 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53