UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RuntimeAssetCacheBucketScopeLock.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
RuntimeAssetCacheBucket.h
"
7
8
/*
9
* Scope lock guarding RuntimeAssetCache bucket metadata critical section.
10
**/
11
class
FRuntimeAssetCacheBucketScopeLock
12
{
13
public
:
14
FRuntimeAssetCacheBucketScopeLock
(
FRuntimeAssetCacheBucket
&
InBucket
)
15
: Bucket(
InBucket
)
16
{
17
Bucket.MetadataCriticalSection.Lock();
18
}
19
20
~FRuntimeAssetCacheBucketScopeLock
()
21
{
22
Bucket.MetadataCriticalSection.Unlock();
23
}
24
25
private
:
27
FRuntimeAssetCacheBucket
& Bucket;
28
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
RuntimeAssetCacheBucket.h
FRuntimeAssetCacheBucketScopeLock
Definition
RuntimeAssetCacheBucketScopeLock.h:12
FRuntimeAssetCacheBucketScopeLock::~FRuntimeAssetCacheBucketScopeLock
~FRuntimeAssetCacheBucketScopeLock()
Definition
RuntimeAssetCacheBucketScopeLock.h:20
FRuntimeAssetCacheBucketScopeLock::FRuntimeAssetCacheBucketScopeLock
FRuntimeAssetCacheBucketScopeLock(FRuntimeAssetCacheBucket &InBucket)
Definition
RuntimeAssetCacheBucketScopeLock.h:14
FRuntimeAssetCacheBucket
Definition
RuntimeAssetCacheBucket.h:20
Engine
Source
Runtime
RuntimeAssetCache
Private
RuntimeAssetCacheBucketScopeLock.h
Generated by
1.9.8