UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMThreadLocalContextHolder.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
7#include "VVMLog.h"
8
9namespace Verse
10{
11struct FContextImpl;
12
13// For use by FContextImpl.
15{
16 FThreadLocalContextHolder() = default;
18
20 {
24 }
25
26 FContextImpl* Get() const
27 {
28 return Context;
29 }
30
31private:
32 FContextImpl* Context = nullptr;
33};
34
35} // namespace Verse
36#endif // WITH_VERSE_VM
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
Definition Archive.h:36