Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

wxLuaStateRefData Class Reference

#include <wxlstate.h>

Collaboration diagram for wxLuaStateRefData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxLuaStateRefData (bool create_data=true)
virtual ~wxLuaStateRefData ()
bool CloseLuaState (bool force)
void ClearCallbacks ()

Public Attributes

lua_State * m_lua_State
bool m_lua_State_static
bool m_lua_State_coroutine
wxLuaStateDatam_wxlStateData
bool m_own_stateData

Constructor & Destructor Documentation

wxLuaStateRefData::wxLuaStateRefData bool  create_data = true  ) 
 

Definition at line 2047 of file wxlstate.cpp.

References m_own_stateData, m_wxlStateData, and wxLuaStateData.

wxLuaStateRefData::~wxLuaStateRefData  )  [virtual]
 

Definition at line 2061 of file wxlstate.cpp.

References CloseLuaState(), m_lua_State, and m_lua_State_static.


Member Function Documentation

void wxLuaStateRefData::ClearCallbacks  ) 
 

Definition at line 2185 of file wxlstate.cpp.

References wxLuaWinDestroyCallback::ClearwxLuaState(), wxLuaEventCallback::ClearwxLuaState(), m_lua_State, wxlua_lreg_createtable(), wxlua_lreg_evtcallbacks_key, and wxlua_lreg_windestroycallbacks_key.

Referenced by CloseLuaState().

bool wxLuaStateRefData::CloseLuaState bool  force  ) 
 

Definition at line 2071 of file wxlstate.cpp.

References ClearCallbacks(), wxLuaStateData::m_is_closing, m_lua_State, m_wxlStateData, wxlua_lreg_createtable(), wxlua_lreg_debug_refs_key, wxlua_lreg_refs_key, wxlua_lreg_topwindows_key, wxlua_lreg_wxluastatedata_key, and wxLuaCleanupWindows().

Referenced by ~wxLuaStateRefData().


Member Data Documentation

lua_State* wxLuaStateRefData::m_lua_State
 

Definition at line 628 of file wxlstate.h.

Referenced by ClearCallbacks(), CloseLuaState(), wxLuaState::GetwxLuaState(), and ~wxLuaStateRefData().

bool wxLuaStateRefData::m_lua_State_coroutine
 

Definition at line 630 of file wxlstate.h.

Referenced by wxLuaState::GetwxLuaState().

bool wxLuaStateRefData::m_lua_State_static
 

Definition at line 629 of file wxlstate.h.

Referenced by wxLuaState::GetwxLuaState(), and ~wxLuaStateRefData().

bool wxLuaStateRefData::m_own_stateData
 

Definition at line 633 of file wxlstate.h.

Referenced by wxLuaState::GetwxLuaState(), and wxLuaStateRefData().

wxLuaStateData* wxLuaStateRefData::m_wxlStateData
 

Definition at line 632 of file wxlstate.h.

Referenced by CloseLuaState(), wxLuaState::GetwxLuaState(), and wxLuaStateRefData().


The documentation for this class was generated from the following files:
Generated on Sat Mar 1 22:42:24 2008 for wxLua by  doxygen 1.3.9.1