Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Attributes | List of all members
cLuaState::cLock Class Reference

Provides a RAII-style locking for the LuaState. More...

#include <LuaState.h>

Collaboration diagram for cLuaState::cLock:
Collaboration graph
[legend]

Public Member Functions

 cLock (cLuaState &a_LuaState)
 

Protected Attributes

cCSLock m_Lock
 

Detailed Description

Provides a RAII-style locking for the LuaState.

Used mainly by the cPluginLua internals to provide the actual locking for interface operations, such as callbacks.

Definition at line 144 of file LuaState.h.

Constructor & Destructor Documentation

◆ cLock()

cLuaState::cLock::cLock ( cLuaState a_LuaState)
inline

Definition at line 147 of file LuaState.h.

Member Data Documentation

◆ m_Lock

cCSLock cLuaState::cLock::m_Lock
protected

Definition at line 152 of file LuaState.h.


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