MrSID Decode SDK for LiDAR Reference Manual  1.1.4.4709
MutexMonitor Class Reference

MutexMonitor use Resource Acquisition Is Initialization (RAII) to mutex lock blocks of code.

#include <Mutex.h>

List of all members.

Public Member Functions

 MutexMonitor (Mutex &mutex)
 Lock the mutex.
 ~MutexMonitor (void)
 Unlock the mutex.

Detailed Description

Definition at line 55 of file Mutex.h.


Constructor & Destructor Documentation

MutexMonitor::MutexMonitor ( Mutex mutex) [inline]

Definition at line 60 of file Mutex.h.

References Mutex::lock().

MutexMonitor::~MutexMonitor ( void  ) [inline]

Definition at line 67 of file Mutex.h.

References Mutex::unlock().


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