HydraHook
Direct3D and Core Audio hooking library for Windows
Loading...
Searching...
No Matches
SrwExclusiveLock Class Reference

Exclusive (writer) lock. Call unlock() to release before COM Release or similar. More...

#include <SrwLock.h>

Public Member Functions

 SrwExclusiveLock (PSRWLOCK lock) noexcept
 ~SrwExclusiveLock ()
void unlock () noexcept
 SrwExclusiveLock (const SrwExclusiveLock &)=delete
SrwExclusiveLock & operator= (const SrwExclusiveLock &)=delete
 SrwExclusiveLock (SrwExclusiveLock &&)=delete
SrwExclusiveLock & operator= (SrwExclusiveLock &&)=delete

Detailed Description

Exclusive (writer) lock. Call unlock() to release before COM Release or similar.

Definition at line 44 of file SrwLock.h.

Constructor & Destructor Documentation

◆ SrwExclusiveLock() [1/3]

SrwExclusiveLock::SrwExclusiveLock ( PSRWLOCK lock)
inlineexplicitnoexcept

Definition at line 47 of file SrwLock.h.

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

◆ ~SrwExclusiveLock()

SrwExclusiveLock::~SrwExclusiveLock ( )
inline

Definition at line 52 of file SrwLock.h.

References unlock().

◆ SrwExclusiveLock() [2/3]

SrwExclusiveLock::SrwExclusiveLock ( const SrwExclusiveLock & )
delete

References SrwExclusiveLock().

◆ SrwExclusiveLock() [3/3]

SrwExclusiveLock::SrwExclusiveLock ( SrwExclusiveLock && )
delete

References SrwExclusiveLock().

Member Function Documentation

◆ operator=() [1/2]

SrwExclusiveLock & SrwExclusiveLock::operator= ( const SrwExclusiveLock & )
delete

References SrwExclusiveLock().

◆ operator=() [2/2]

SrwExclusiveLock & SrwExclusiveLock::operator= ( SrwExclusiveLock && )
delete

References SrwExclusiveLock().

◆ unlock()

void SrwExclusiveLock::unlock ( )
inlinenoexcept

Definition at line 54 of file SrwLock.h.

Referenced by ~SrwExclusiveLock().


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