OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
log4cplus::thread::Guard Class Reference

This is used to lock a mutex. More...

Public Member Functions

 Guard (LOG4CPLUS_MUTEX_PTR_DECLARE mutex)
 "locks" mutex.
 
 ~Guard ()
 "unlocks" mutex.
 

Private Member Functions

 Guard (const Guard &)
 
Guardoperator= (const Guard &)
 

Private Attributes

LOG4CPLUS_MUTEX_PTR_DECLARE _mutex
 

Detailed Description

This is used to lock a mutex.

The dtor unlocks the mutex.

Definition at line 36 of file threads.h.

Constructor & Destructor Documentation

log4cplus::thread::Guard::Guard ( LOG4CPLUS_MUTEX_PTR_DECLARE  mutex)
inline

"locks" mutex.

Definition at line 40 of file threads.h.

log4cplus::thread::Guard::~Guard ( )
inline

"unlocks" mutex.

Definition at line 47 of file threads.h.


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


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2