Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions
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 Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4