Ptex: PtexInternal::AutoLock< T > Class Template Reference

Ptex

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | List of all members
PtexInternal::AutoLock< T > Class Template Reference

Automatically acquire and release lock within enclosing scope. More...

`#include <PtexMutex.h>`

## Public Member Functions
| AutoLock (T &m)
| ~AutoLock ()

## Private Attributes
T & | _m

## Detailed Description

### template<class T>
class PtexInternal::AutoLock< T >

Automatically acquire and release lock within enclosing scope.

Definition at line 58 of file PtexMutex.h.

## Constructor & Destructor Documentation

template<class T >

PtexInternal::AutoLock< T >::AutoLock | ( | T & | m | ) |
| inline

Definition at line 60 of file PtexMutex.h.

References PtexInternal::AutoLock< T >::_m.

template<class T >

PtexInternal::AutoLock< T >::~AutoLock | ( |  | ) |
| inline

Definition at line 61 of file PtexMutex.h.

References PtexInternal::AutoLock< T >::_m.

## Member Data Documentation

template<class T >

T& PtexInternal::AutoLock< T >::_m
| private

Definition at line 63 of file PtexMutex.h.

Referenced by PtexInternal::AutoLock< T >::AutoLock(), and PtexInternal::AutoLock< T >::~AutoLock().

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

- PtexMutex.h