osl::misc::LightMutex::unlockable_lock Class Reference

- Main Page
- Namespaces
- Classes
- Files

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::misc::LightMutex::unlockable_lock Class Reference

requirement: thread local More...

`#include <lightMutex.h>`

Inheritance diagram for osl::misc::LightMutex::unlockable_lock:
[legend]
Collaboration diagram for osl::misc::LightMutex::unlockable_lock:
[legend]

## Public Member Functions
| unlockable_lock (LightMutex &m)
| ~unlockable_lock ()
void | unlock ()

## Private Attributes
LightMutex & | m
bool | locked

## Detailed Description

requirement: thread local

Definition at line 93 of file lightMutex.h.

## Constructor & Destructor Documentation

osl::misc::LightMutex::unlockable_lock::unlockable_lock | ( | LightMutex & | m) |  |
| inline

Definition at line 97 of file lightMutex.h.

References osl::misc::LightMutex::lock().

osl::misc::LightMutex::unlockable_lock::~unlockable_lock | ( | ) |  |
| inline

Definition at line 100 of file lightMutex.h.

References unlock().

## Member Function Documentation

void osl::misc::LightMutex::unlockable_lock::unlock | ( | ) |  |
| inline

Definition at line 103 of file lightMutex.h.

References locked, m, and osl::misc::LightMutex::unlock().

Referenced by ~unlockable_lock().

## Member Data Documentation

bool osl::misc::LightMutex::unlockable_lock::locked
| private

Definition at line 95 of file lightMutex.h.

Referenced by unlock().

LightMutex& osl::misc::LightMutex::unlockable_lock::m
| private

Definition at line 94 of file lightMutex.h.

Referenced by unlock().

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

- lightMutex.h