ulxr::Mutex::Locker Class Reference

Helper class to request and release a mutex by pure presence. More...

#include <ulxr_mutex.h>

Collaboration diagram for ulxr::Mutex::Locker:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Locker (Mutex &mtx)
 Create object and request mutex.
 ~Locker () throw ()
 Destroys object and releases mutex.

Private Attributes

Mutexmutex

Detailed Description

Helper class to request and release a mutex by pure presence.

Definition at line 55 of file ulxr_mutex.h.


Constructor & Destructor Documentation

ulxr::Mutex::Locker::Locker ( Mutex mtx  ) 

Create object and request mutex.

Parameters:
mtx mutex to request.

Definition at line 126 of file ulxr_mutex.cpp.

References ulxr::Mutex::lock(), and mutex.

ulxr::Mutex::Locker::~Locker (  )  throw ()

Destroys object and releases mutex.

Definition at line 133 of file ulxr_mutex.cpp.

References mutex, and ulxr::Mutex::unlock().


Member Data Documentation

Mutex* ulxr::Mutex::Locker::mutex [private]

Definition at line 70 of file ulxr_mutex.h.

Referenced by Locker(), and ~Locker().


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:07 2007 for ulxmlrpcpp by  doxygen 1.5.1