Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FWindowsRWLock Class Reference

#include <WindowsCriticalSection.h>

+ Collaboration diagram for FWindowsRWLock:

Public Member Functions

 FWindowsRWLock (const FWindowsRWLock &)=delete
 
FWindowsRWLockoperator= (const FWindowsRWLock &)=delete
 
FORCEINLINE FWindowsRWLock (uint32 Level=0)
 
 ~FWindowsRWLock ()
 
FORCEINLINE void ReadLock ()
 
FORCEINLINE void WriteLock ()
 
FORCEINLINE bool TryReadLock ()
 
FORCEINLINE bool TryWriteLock ()
 
FORCEINLINE void ReadUnlock ()
 
FORCEINLINE void WriteUnlock ()
 

Private Member Functions

bool IsLocked ()
 

Private Attributes

Windows::SRWLOCK Mutex
 

Detailed Description

FWindowsRWLock - Read/Write Mutex

Definition at line 109 of file WindowsCriticalSection.h.

Constructor & Destructor Documentation

◆ FWindowsRWLock() [1/2]

FWindowsRWLock::FWindowsRWLock ( const FWindowsRWLock & )
delete

◆ FWindowsRWLock() [2/2]

FORCEINLINE FWindowsRWLock::FWindowsRWLock ( uint32 Level = 0)
inline

Definition at line 115 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:

◆ ~FWindowsRWLock()

FWindowsRWLock::~FWindowsRWLock ( )
inline

Definition at line 120 of file WindowsCriticalSection.h.

Member Function Documentation

◆ IsLocked()

bool FWindowsRWLock::IsLocked ( )
inlineprivate

Definition at line 157 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:

◆ operator=()

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

◆ ReadLock()

FORCEINLINE void FWindowsRWLock::ReadLock ( )
inline

Definition at line 125 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReadUnlock()

FORCEINLINE void FWindowsRWLock::ReadUnlock ( )
inline

Definition at line 145 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryReadLock()

FORCEINLINE bool FWindowsRWLock::TryReadLock ( )
inline

Definition at line 135 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:

◆ TryWriteLock()

FORCEINLINE bool FWindowsRWLock::TryWriteLock ( )
inline

Definition at line 140 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:

◆ WriteLock()

FORCEINLINE void FWindowsRWLock::WriteLock ( )
inline

Definition at line 130 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteUnlock()

FORCEINLINE void FWindowsRWLock::WriteUnlock ( )
inline

Definition at line 150 of file WindowsCriticalSection.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Mutex

Windows::SRWLOCK FWindowsRWLock::Mutex
private

Definition at line 170 of file WindowsCriticalSection.h.


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