MMDevice 70
MMThreadGuard Class Reference

RAII object to acquire and auto-release MMThreadLock. More...

#include <DeviceThreads.h>

Public Member Functions

 MMThreadGuard (MMThreadLock &lock)
 MMThreadGuard (MMThreadLock *lock)
 MMThreadGuard (const MMThreadGuard &)=delete
MMThreadGuard & operator= (const MMThreadGuard &)=delete
 MMThreadGuard (MMThreadGuard &&)=delete
MMThreadGuard & operator= (MMThreadGuard &&)=delete

Detailed Description

RAII object to acquire and auto-release MMThreadLock.

Attention
New code should use std::lock_guard instead.

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