Public Member Functions | Static Public Member Functions | Private Types | List of all members
sol::basic_thread< ref_t > Class Template Reference

#include <forward.hpp>

Public Member Functions

 basic_thread () noexcept=default
 
 basic_thread (basic_thread &&)=default
 
 basic_thread (const basic_thread &)=default
 
 basic_thread (const stack_reference &r)
 
 basic_thread (lua_State *L, int index=-1)
 
 basic_thread (lua_State *L, lua_State *actualthread)
 
 basic_thread (lua_State *L, lua_thread_state actualthread)
 
 basic_thread (lua_State *L, ref_index index)
 
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, this_state actualthread)
 
 basic_thread (stack_reference &&r)
 
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 create ()
 
bool is_main_thread () const
 
basic_threadoperator= (basic_thread &&)=default
 
basic_threadoperator= (const basic_thread &)=default
 
state_view state () const
 
thread_status status () const
 
lua_Statethread_state () const
 

Static Public Member Functions

static basic_thread create (lua_State *L)
 

Private Types

using base_t = basic_object< ref_t >
 

Detailed Description

template<typename ref_t>
class sol::basic_thread< ref_t >

Definition at line 1207 of file forward.hpp.

Member Typedef Documentation

◆ base_t

template<typename ref_t >
using sol::basic_thread< ref_t >::base_t = basic_object<ref_t>
private

Definition at line 28131 of file sol.hpp.

Constructor & Destructor Documentation

◆ basic_thread() [1/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( )
defaultnoexcept

◆ basic_thread() [2/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( const basic_thread< ref_t > &  )
default

◆ basic_thread() [3/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( basic_thread< ref_t > &&  )
default

◆ basic_thread() [4/12]

template<typename ref_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>
sol::basic_thread< ref_t >::basic_thread ( T &&  r)
inline

Definition at line 28141 of file sol.hpp.

◆ basic_thread() [5/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( const stack_reference r)
inline

Definition at line 28148 of file sol.hpp.

◆ basic_thread() [6/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( stack_reference &&  r)
inline

Definition at line 28149 of file sol.hpp.

◆ basic_thread() [7/12]

template<typename ref_t >
template<typename T , meta::enable< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler>
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
T &&  r 
)
inline

Definition at line 28153 of file sol.hpp.

◆ basic_thread() [8/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
int  index = -1 
)
inline

Definition at line 28160 of file sol.hpp.

◆ basic_thread() [9/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
ref_index  index 
)
inline

Definition at line 28166 of file sol.hpp.

◆ basic_thread() [10/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
lua_State actualthread 
)
inline

Definition at line 28173 of file sol.hpp.

◆ basic_thread() [11/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
this_state  actualthread 
)
inline

Definition at line 28175 of file sol.hpp.

◆ basic_thread() [12/12]

template<typename ref_t >
sol::basic_thread< ref_t >::basic_thread ( lua_State L,
lua_thread_state  actualthread 
)
inline

Definition at line 28177 of file sol.hpp.

Member Function Documentation

◆ create() [1/2]

template<typename ref_t >
basic_thread sol::basic_thread< ref_t >::create ( )
inline

Definition at line 28216 of file sol.hpp.

◆ create() [2/2]

template<typename ref_t >
static basic_thread sol::basic_thread< ref_t >::create ( lua_State L)
inlinestatic

Definition at line 28220 of file sol.hpp.

◆ is_main_thread()

template<typename ref_t >
bool sol::basic_thread< ref_t >::is_main_thread ( ) const
inline

Definition at line 28191 of file sol.hpp.

◆ operator=() [1/2]

template<typename ref_t >
basic_thread& sol::basic_thread< ref_t >::operator= ( basic_thread< ref_t > &&  )
default

◆ operator=() [2/2]

template<typename ref_t >
basic_thread& sol::basic_thread< ref_t >::operator= ( const basic_thread< ref_t > &  )
default

◆ state()

template<typename ref_t >
state_view sol::basic_thread< ref_t >::state ( ) const
inline

Definition at line 28187 of file sol.hpp.

◆ status()

template<typename ref_t >
thread_status sol::basic_thread< ref_t >::status ( ) const
inline

Definition at line 28201 of file sol.hpp.

◆ thread_state()

template<typename ref_t >
lua_State* sol::basic_thread< ref_t >::thread_state ( ) const
inline

Definition at line 28195 of file sol.hpp.


The documentation for this class was generated from the following files:


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