Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::sys::ScopedLock< L > Class Template Reference

Scoped lock template: calls lock() in ctor, unlock() in dtor. More...

#include <qpid/sys/Mutex.h>

List of all members.

Public Member Functions

 ScopedLock (L &l)
 ~ScopedLock ()

Detailed Description

template<class L>
class qpid::sys::ScopedLock< L >

Scoped lock template: calls lock() in ctor, unlock() in dtor.

L can be any class with lock() and unlock() functions.

Definition at line 30 of file Mutex.h.


Constructor & Destructor Documentation

template<class L >
qpid::sys::ScopedLock< L >::ScopedLock ( L &  l  )  [inline]

Definition at line 33 of file Mutex.h.

template<class L >
qpid::sys::ScopedLock< L >::~ScopedLock (  )  [inline]

Definition at line 34 of file Mutex.h.


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

Qpid C++ API Reference
Generated on Mon Jun 7 17:49:09 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208