Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Types | List of all members
cWorld::cLock Class Reference

A simple RAII locker for the chunkmap - locks the chunkmap in its constructor, unlocks it in the destructor. More...

#include <World.h>

Inheritance diagram for cWorld::cLock:
Inheritance graph
[legend]
Collaboration diagram for cWorld::cLock:
Collaboration graph
[legend]

Public Member Functions

 cLock (const cWorld &a_World)
 
- Public Member Functions inherited from cCSLock
 cCSLock (cCriticalSection &a_CS)
 
 cCSLock (cCriticalSection *a_CS)
 
void Lock (void)
 
void Unlock (void)
 
 ~cCSLock ()
 

Private Types

using Super = cCSLock
 

Detailed Description

A simple RAII locker for the chunkmap - locks the chunkmap in its constructor, unlocks it in the destructor.

Definition at line 58 of file World.h.

Member Typedef Documentation

◆ Super

using cWorld::cLock::Super = cCSLock
private

Definition at line 61 of file World.h.

Constructor & Destructor Documentation

◆ cLock()

cWorld::cLock::cLock ( const cWorld a_World)

Definition at line 86 of file World.cpp.


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