MutexGuard Class Reference

A simple implementation of a mutex guard. More...

#include <mutexguard.h>

Collaboration diagram for MutexGuard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MutexGuard (Mutex *mutex)
 MutexGuard (Mutex &mutex)
 ~MutexGuard ()


Detailed Description

A simple implementation of a mutex guard.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 28 of file mutexguard.h.


Constructor & Destructor Documentation

MutexGuard ( Mutex mutex  )  [inline]

Contructs a new simple mutex guard and locks the supplied Mutex.

Parameters:
mutex The Mutex to guard.

Definition at line 35 of file mutexguard.h.

MutexGuard ( Mutex mutex  )  [inline]

Contructs a new simple mutex guard and locks the supplied Mutex.

Parameters:
mutex The Mutex to guard.

Definition at line 41 of file mutexguard.h.

~MutexGuard (  )  [inline]

Destructor. Releases the guarded Mutex.

Definition at line 46 of file mutexguard.h.


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

Generated on Fri Oct 10 15:26:20 2008 for gloox by  doxygen 1.5.6