ReplicaNet and RNLobby  1
Public Member Functions | List of all members
LockingMechanism Class Reference

#include <ThreadClass.h>

Public Member Functions

 LockingMechanism (MutexClass *lockee)
 
virtual ~LockingMechanism ()
 

Detailed Description

A simple class that handles locking of a class via the MutexClass

Constructor & Destructor Documentation

This begins the lock of the class

Parameters
lockeeA pointer to the class to lock, that inherits from MutexClass
virtual ~LockingMechanism ( )
virtual

The dtor unlocks the class automatically