HMutexOOC::LockGuard Class Reference

#include <HMutexOOC.h>

Public Member Functions

 LockGuard (HMutexOOC &mutex)
 ~LockGuard ()

Detailed Description

LockGuard locks a HMutexOOC instance until the LockGuard is destructed.

Constructor & Destructor Documentation

◆ LockGuard()

HMutexOOC::LockGuard::LockGuard ( HMutexOOC mutex)

Locks the input mutex.

mutexThe mutex to lock for the lifetime of LockGuard.

References HMutexOOC::Lock().

◆ ~LockGuard()

HMutexOOC::LockGuard::~LockGuard ( )

Unlocks the mutex locked by the LockGuard constructor.

References HMutexOOC::Unlock().

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