Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Scoped lock template: calls lock() in ctor, unlock() in dtor. More...
#include <qpid/management/Mutex.h>
Public Member Functions | |
ScopedLockTemplate (L &l) | |
~ScopedLockTemplate () |
Scoped lock template: calls lock() in ctor, unlock() in dtor.
L can be any class with lock() and unlock() functions.
qpid::management::ScopedLockTemplate::ScopedLockTemplate | ( | L & | l | ) | [inline] |
qpid::management::ScopedLockTemplate::~ScopedLockTemplate | ( | ) | [inline] |