qpid::management::ScopedLockTemplate Class Reference

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

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
qpid::management::ScopedLockTemplate Class Reference

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

`#include <qpid/management/Mutex.h>`

List of all members.

## Public Member Functions
| ScopedLockTemplate (L &l)
| ~ScopedLockTemplate ()

## Detailed Description

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

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

## Constructor & Destructor Documentation

qpid::management::ScopedLockTemplate::ScopedLockTemplate | ( | L & | l | ) | `[inline]`

Definition at line 37 of file Mutex.h.

qpid::management::ScopedLockTemplate::~ScopedLockTemplate | ( |  | ) | `[inline]`

Definition at line 38 of file Mutex.h.

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

- qpid/management/Mutex.h