UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetRegistry::TRWScopeLockWithPriority< TScopeLockType > Class Template Reference

#include <AssetRegistryImpl.h>

Public Member Functions

UE_NODISCARD_CTOR TRWScopeLockWithPriority (Private::FRWLockWithPriority &InLock, Private::ELockPriority InPriority=Private::PriorityHigh)
 

Public Attributes

TOptional< TScopeLockTypeGuardWrapper
 
UE::AssetRegistry::Private::FRWLockWithPriority & Lock
 
UE::AssetRegistry::Private::ELockPriority Priority
 

Detailed Description

template<typename TScopeLockType>
class UE::AssetRegistry::TRWScopeLockWithPriority< TScopeLockType >

Keeps a FRWLock read-locked while this scope lives This is almost a clone of the existing FReadScopeLock and similar types however this adds an extra flag to help the background processing thread know when a higher priority thread would like to gain access to the protected data

Constructor & Destructor Documentation

◆ TRWScopeLockWithPriority()

UE_NODISCARD_CTOR UE::AssetRegistry::TRWScopeLockWithPriority< TScopeLockType >::TRWScopeLockWithPriority ( Private::FRWLockWithPriority &  InLock,
Private::ELockPriority  InPriority = Private::PriorityHigh 
)
inlineexplicit

Member Data Documentation

◆ GuardWrapper

◆ Lock

UE::AssetRegistry::Private::FRWLockWithPriority& UE::AssetRegistry::TRWScopeLockWithPriority< TScopeLockType >::Lock

◆ Priority

UE::AssetRegistry::Private::ELockPriority UE::AssetRegistry::TRWScopeLockWithPriority< TScopeLockType >::Priority

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