A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ScopeLock< GroupID > Class Reference

#include "ScopeLock.hh"

Description

Definition at line 13 of file ScopeLock.hh.

Public Member Functions

 ScopeLock (GroupID newID)
 Temporarily changes the group ID of a given heap to better track memory allocation.
 ~ScopeLock ()

Constructor & Destructor Documentation

◆ ScopeLock()

ScopeLock ( GroupID newID)
inline

Temporarily changes the group ID of a given heap to better track memory allocation.

Typical pattern is "ScopeLock<GroupID> lock(groupID);" to initialize a lock.

Definition at line 17 of file ScopeLock.hh.

◆ ~ScopeLock()

~ScopeLock ( )
inline

Definition at line 31 of file ScopeLock.hh.


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