Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | List of all members
qpid::sys::ScopedLock< L > Class Template Reference

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

#include <qpid/sys/Mutex.h>

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 Thu Aug 18 2016 for Qpid C++ Client API by doxygen 1.8.5