#include <sol.hpp>
|
| basic_thread () noexcept=default |
|
| basic_thread (const basic_thread &)=default |
|
| basic_thread (basic_thread &&)=default |
|
template<typename T , meta::enable< meta::neg< std::is_same< meta::unqualified_t< T >, basic_thread >>, is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> |
| basic_thread (T &&r) |
|
| basic_thread (const stack_reference &r) |
|
| basic_thread (stack_reference &&r) |
|
basic_thread & | operator= (const basic_thread &)=default |
|
basic_thread & | operator= (basic_thread &&)=default |
|
template<typename T , meta::enable< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> |
| basic_thread (lua_State *L, T &&r) |
|
| basic_thread (lua_State *L, int index=-1) |
|
| basic_thread (lua_State *L, ref_index index) |
|
| basic_thread (lua_State *L, lua_State *actualthread) |
|
| basic_thread (lua_State *L, this_state actualthread) |
|
| basic_thread (lua_State *L, lua_thread_state actualthread) |
|
state_view | state () const |
|
bool | is_main_thread () const |
|
lua_State * | thread_state () const |
|
thread_status | status () const |
|
basic_thread | create () |
|
§ basic_thread() [1/12]
template<typename base_t >
§ basic_thread() [2/12]
template<typename base_t >
§ basic_thread() [3/12]
template<typename base_t >
§ basic_thread() [4/12]
template<typename base_t >
template<typename T , meta::enable< meta::neg< std::is_same< meta::unqualified_t< T >, basic_thread >>, is_lua_reference< meta::unqualified_t< T >>> = meta::enabler>
21753 :
base_t(std::forward<T>(r)) {
21754 #if defined(SOL_SAFE_REFERENCES) && SOL_SAFE_REFERENCES 21756 constructor_handler
handler{};
21757 stack::check<basic_thread>(lua_state(), -1,
handler);
push_popper< top_level, T > push_pop(T &&x)
Definition: sol.hpp:6661
§ basic_thread() [5/12]
template<typename base_t >
basic_thread() noexcept=default
§ basic_thread() [6/12]
template<typename base_t >
basic_thread() noexcept=default
§ basic_thread() [7/12]
template<typename base_t >
template<typename T , meta::enable< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler>
21768 :
base_t(L, std::forward<T>(r)) {
21769 #if defined(SOL_SAFE_REFERENCES) && SOL_SAFE_REFERENCES 21771 constructor_handler
handler{};
21772 stack::check<basic_thread>(lua_state(), -1,
handler);
push_popper< top_level, T > push_pop(T &&x)
Definition: sol.hpp:6661
§ basic_thread() [8/12]
template<typename base_t >
21777 #if defined(SOL_SAFE_REFERENCES) && SOL_SAFE_REFERENCES 21778 constructor_handler
handler{};
§ basic_thread() [9/12]
template<typename base_t >
21784 #if defined(SOL_SAFE_REFERENCES) && SOL_SAFE_REFERENCES 21786 constructor_handler
handler{};
21787 stack::check<basic_thread>(lua_state(), -1,
handler);
push_popper< top_level, T > push_pop(T &&x)
Definition: sol.hpp:6661
§ basic_thread() [10/12]
template<typename base_t >
basic_thread() noexcept=default
§ basic_thread() [11/12]
template<typename base_t >
21794 :
basic_thread(L, lua_thread_state{ actualthread.L }) {
basic_thread() noexcept=default
§ basic_thread() [12/12]
template<typename base_t >
21798 #if defined(SOL_SAFE_REFERENCES) && SOL_SAFE_REFERENCES 21799 constructor_handler
handler{};
21800 stack::check<basic_thread>(lua_state(), -1,
handler);
21802 if (!is_stack_based<base_t>::value) {
21803 lua_pop(lua_state(), 1);
int push(lua_State *L, T &&t, Args &&... args)
Definition: sol.hpp:7770
§ create() [1/2]
template<typename base_t >
21837 return create(lua_state());
basic_thread create()
Definition: sol.hpp:21836
§ create() [2/2]
template<typename base_t >
21843 if (!is_stack_based<base_t>::value) {
basic_thread() noexcept=default
§ is_main_thread()
template<typename base_t >
lua_State * thread_state() const
Definition: sol.hpp:21815
bool is_main_thread(lua_State *L)
Definition: sol.hpp:7747
§ operator=() [1/2]
template<typename base_t >
§ operator=() [2/2]
template<typename base_t >
§ state()
template<typename base_t >
lua_State * thread_state() const
Definition: sol.hpp:21815
§ status()
template<typename base_t >
21823 auto lstat =
static_cast<thread_status>(lua_status(lthread));
21826 if (lua_getstack(lthread, 0, &ar) > 0)
21828 else if (lua_gettop(lthread) == 0)
lua_State * thread_state() const
Definition: sol.hpp:21815
thread_status
Definition: sol.hpp:5155
§ thread_state()
template<typename base_t >
21817 lua_State* lthread = lua_tothread(lua_state(), -1);
push_popper< top_level, T > push_pop(T &&x)
Definition: sol.hpp:6661
The documentation for this class was generated from the following file: