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

#include <sol.hpp>

Public Types

typedef std::decay_t< meta::unwrap_unqualified_t< Func > > function_type
 

Public Member Functions

template<typename... Args>
 functor_function (function_type f, Args &&... args) noexcept(std::is_nothrow_constructible_v< function_type, function_type, Args... >)
 
int operator() (lua_State *L) noexcept(noexcept(call_detail::call_wrapped< void, true, false >(L, invocation)))
 

Static Public Member Functions

static int call (lua_State *L, functor_function &self) noexcept(noexcept(call_detail::call_wrapped< void, true, false >(L, self.invocation)))
 

Public Attributes

function_type invocation
 

Detailed Description

template<typename Func, bool is_yielding, bool no_trampoline>
struct sol::function_detail::functor_function< Func, is_yielding, no_trampoline >

Definition at line 19487 of file sol.hpp.

Member Typedef Documentation

◆ function_type

template<typename Func , bool is_yielding, bool no_trampoline>
typedef std::decay_t<meta::unwrap_unqualified_t<Func> > sol::function_detail::functor_function< Func, is_yielding, no_trampoline >::function_type

Definition at line 19488 of file sol.hpp.

Constructor & Destructor Documentation

◆ functor_function()

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

Definition at line 19492 of file sol.hpp.

Member Function Documentation

◆ call()

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

Definition at line 19496 of file sol.hpp.

◆ operator()()

template<typename Func , bool is_yielding, bool no_trampoline>
int sol::function_detail::functor_function< Func, is_yielding, no_trampoline >::operator() ( lua_State L)
inlinenoexcept

Definition at line 19506 of file sol.hpp.

Member Data Documentation

◆ invocation

template<typename Func , bool is_yielding, bool no_trampoline>
function_type sol::function_detail::functor_function< Func, is_yielding, no_trampoline >::invocation

Definition at line 19489 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:32