g2o
Loading...
Searching...
No Matches
g2o::ScopedOpenMPMutex Class Reference

lock a mutex within a scope More...

#include <openmp_mutex.h>

Collaboration diagram for g2o::ScopedOpenMPMutex:

Public Member Functions

 ScopedOpenMPMutex (OpenMPMutex *mutex)
 ~ScopedOpenMPMutex ()

Private Member Functions

 ScopedOpenMPMutex (const ScopedOpenMPMutex &)
void operator= (const ScopedOpenMPMutex &)

Private Attributes

OpenMPMutex *const _mutex

Detailed Description

lock a mutex within a scope

Definition at line 87 of file openmp_mutex.h.

Constructor & Destructor Documentation

◆ ScopedOpenMPMutex() [1/2]

g2o::ScopedOpenMPMutex::ScopedOpenMPMutex ( OpenMPMutex * mutex)
inlineexplicit

Definition at line 89 of file openmp_mutex.h.

References _mutex.

Referenced by operator=(), and ScopedOpenMPMutex().

◆ ~ScopedOpenMPMutex()

g2o::ScopedOpenMPMutex::~ScopedOpenMPMutex ( )
inline

Definition at line 92 of file openmp_mutex.h.

References _mutex.

◆ ScopedOpenMPMutex() [2/2]

g2o::ScopedOpenMPMutex::ScopedOpenMPMutex ( const ScopedOpenMPMutex & )
private

References ScopedOpenMPMutex().

Member Function Documentation

◆ operator=()

void g2o::ScopedOpenMPMutex::operator= ( const ScopedOpenMPMutex & )
private

References ScopedOpenMPMutex().

Member Data Documentation

◆ _mutex

OpenMPMutex* const g2o::ScopedOpenMPMutex::_mutex
private

Definition at line 95 of file openmp_mutex.h.

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


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