HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Lock Class Reference

#include <IlmThreadMutex.h>

Public Member Functions

 Lock (const Mutex &m, bool autoLock=true)
 
 ~Lock ()
 
 Lock (const Lock &)=delete
 
Lockoperator= (const Lock &)=delete
 
 Lock (Lock &&)=delete
 
Lockoperator= (Lock &&)=delete
 
void acquire ()
 
void release ()
 
bool locked ()
 

Detailed Description

Definition at line 32 of file IlmThreadMutex.h.

Constructor & Destructor Documentation

Lock::Lock ( const Mutex m,
bool  autoLock = true 
)
inline

Definition at line 36 of file IlmThreadMutex.h.

Lock::~Lock ( )
inline

Definition at line 46 of file IlmThreadMutex.h.

Lock::Lock ( const Lock )
delete
Lock::Lock ( Lock &&  )
delete

Member Function Documentation

void Lock::acquire ( )
inline

Definition at line 55 of file IlmThreadMutex.h.

bool Lock::locked ( )
inline

Definition at line 67 of file IlmThreadMutex.h.

Lock& Lock::operator= ( const Lock )
delete
Lock& Lock::operator= ( Lock &&  )
delete
void Lock::release ( )
inline

Definition at line 61 of file IlmThreadMutex.h.


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