The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
application_lua_kernel::thread Class Reference

#include <application_lua_kernel.hpp>

Public Member Functions

bool is_running ()
 
std::string status ()
 
request_list run_script (const plugins_context &ctxt, const std::vector< plugins_manager::event > &queue)
 

Private Member Functions

 thread (const thread &)=delete
 
threadoperator= (const thread &)=delete
 
 thread (lua_State *)
 

Private Attributes

lua_State * T_
 
bool started_
 

Friends

class application_lua_kernel
 

Detailed Description

Definition at line 35 of file application_lua_kernel.hpp.

Constructor & Destructor Documentation

◆ thread() [1/2]

application_lua_kernel::thread::thread ( const thread )
privatedelete

◆ thread() [2/2]

application_lua_kernel::thread::thread ( lua_State *  T)
private

Definition at line 112 of file application_lua_kernel.cpp.

Member Function Documentation

◆ is_running()

bool application_lua_kernel::thread::is_running ( )

Definition at line 133 of file application_lua_kernel.cpp.

◆ operator=()

thread& application_lua_kernel::thread::operator= ( const thread )
privatedelete

◆ run_script()

application_lua_kernel::request_list application_lua_kernel::thread::run_script ( const plugins_context ctxt,
const std::vector< plugins_manager::event > &  queue 
)

◆ status()

std::string application_lua_kernel::thread::status ( )

Definition at line 114 of file application_lua_kernel.cpp.

Friends And Related Function Documentation

◆ application_lua_kernel

friend class application_lua_kernel
friend

Definition at line 49 of file application_lua_kernel.hpp.

Member Data Documentation

◆ started_

bool application_lua_kernel::thread::started_
private

Definition at line 37 of file application_lua_kernel.hpp.

◆ T_

lua_State* application_lua_kernel::thread::T_
private

Definition at line 36 of file application_lua_kernel.hpp.


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