The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
application_lua_kernel::thread Class Reference

#include <application_lua_kernel.hpp>

Inheritance diagram for application_lua_kernel::thread:
Inheritance graph

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 (lua_State *)
 

Private Attributes

lua_StateT_
 
bool started_
 

Friends

class application_lua_kernel
 

Detailed Description

Definition at line 38 of file application_lua_kernel.hpp.

Constructor & Destructor Documentation

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

Definition at line 105 of file application_lua_kernel.cpp.

Member Function Documentation

bool application_lua_kernel::thread::is_running ( )

Definition at line 126 of file application_lua_kernel.cpp.

References LUA_OK, lua_status(), and LUA_YIELD.

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

Definition at line 107 of file application_lua_kernel.cpp.

References LUA_OK, lua_status(), and LUA_YIELD.

Friends And Related Function Documentation

friend class application_lua_kernel
friend

Definition at line 49 of file application_lua_kernel.hpp.

Member Data Documentation

bool application_lua_kernel::thread::started_
private

Definition at line 40 of file application_lua_kernel.hpp.

lua_State* application_lua_kernel::thread::T_
private

Definition at line 39 of file application_lua_kernel.hpp.


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