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

#include <GenericPlatformCriticalSection.h>

Public Member Functions

 FSystemWideCriticalSectionNotImplemented (const FString &Name, FTimespan Timeout=FTimespan::Zero())
 
 ~FSystemWideCriticalSectionNotImplemented ()
 
bool IsValid () const
 
void Release ()
 

Private Member Functions

 FSystemWideCriticalSectionNotImplemented (const FSystemWideCriticalSectionNotImplemented &)
 
FSystemWideCriticalSectionNotImplementedoperator= (const FSystemWideCriticalSectionNotImplemented &)
 

Detailed Description

Platforms that don't need a working FSystemWideCriticalSection can just typedef this one

Definition at line 9 of file GenericPlatformCriticalSection.h.

Constructor & Destructor Documentation

◆ FSystemWideCriticalSectionNotImplemented() [1/2]

FSystemWideCriticalSectionNotImplemented::FSystemWideCriticalSectionNotImplemented ( const FString & Name,
FTimespan Timeout = FTimespan::Zero() )
explicit

Construct a named, system-wide critical section and attempt to get access/ownership of it

◆ ~FSystemWideCriticalSectionNotImplemented()

FSystemWideCriticalSectionNotImplemented::~FSystemWideCriticalSectionNotImplemented ( )
inline

Destructor releases system-wide critical section if it is currently owned

Definition at line 16 of file GenericPlatformCriticalSection.h.

◆ FSystemWideCriticalSectionNotImplemented() [2/2]

FSystemWideCriticalSectionNotImplemented::FSystemWideCriticalSectionNotImplemented ( const FSystemWideCriticalSectionNotImplemented & )
private

Member Function Documentation

◆ IsValid()

bool FSystemWideCriticalSectionNotImplemented::IsValid ( ) const
inline

Does the calling thread have ownership of the system-wide critical section?

Returns
True if the system-wide lock is obtained.

Definition at line 23 of file GenericPlatformCriticalSection.h.

◆ operator=()

FSystemWideCriticalSectionNotImplemented & FSystemWideCriticalSectionNotImplemented::operator= ( const FSystemWideCriticalSectionNotImplemented & )
private

◆ Release()

void FSystemWideCriticalSectionNotImplemented::Release ( )
inline

Releases system-wide critical section if it is currently owned

Definition at line 26 of file GenericPlatformCriticalSection.h.


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