Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
hugin_omp::ScopedLock Class Reference

#include <openmp_lock.h>

Public Member Functions

 ScopedLock (Lock &lock)
 
 ~ScopedLock ()
 

Private Member Functions

 ScopedLock (const ScopedLock &)
 
ScopedLockoperator= (const ScopedLock &)
 

Private Attributes

Lockm_lock
 

Detailed Description

Definition at line 63 of file openmp_lock.h.

Constructor & Destructor Documentation

◆ ScopedLock() [1/2]

hugin_omp::ScopedLock::ScopedLock ( Lock lock)
inline

Definition at line 66 of file openmp_lock.h.

References m_lock, and hugin_omp::Lock::Set().

◆ ~ScopedLock()

hugin_omp::ScopedLock::~ScopedLock ( )
inline

Definition at line 67 of file openmp_lock.h.

References m_lock, and hugin_omp::Lock::Unset().

◆ ScopedLock() [2/2]

hugin_omp::ScopedLock::ScopedLock ( const ScopedLock )
private

Member Function Documentation

◆ operator=()

ScopedLock & hugin_omp::ScopedLock::operator= ( const ScopedLock )
private

Member Data Documentation

◆ m_lock

Lock& hugin_omp::ScopedLock::m_lock
private

Definition at line 71 of file openmp_lock.h.

Referenced by ScopedLock(), and ~ScopedLock().


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