UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMGlobalHeapRoot.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 "
HAL/Platform.h
"
8
9
namespace
Verse
10
{
11
struct
FAbstractVisitor
;
12
struct
FMarkStackVisitor
;
13
14
// If you have a class that is meant to be used exclusively for global variables (like TUniqueConstructor), then
15
// subclass this to give that class the ability to mark its referenced cells.
16
//
17
// Never use this for things that aren't truly global.
18
struct
FGlobalHeapRoot
19
{
20
COREUOBJECT_API
FGlobalHeapRoot
();
21
virtual
~FGlobalHeapRoot
() =
default
;
22
23
virtual
void
Visit
(
FMarkStackVisitor
& Visitor) = 0;
24
virtual
void
Visit
(
FAbstractVisitor
& Visitor) = 0;
25
};
26
27
}
// namespace Verse
28
#endif
// WITH_VERSE_VM
Platform.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Visit
decltype(auto) Visit(Func &&Callable, Variants &&... Args)
Definition
TVariant.h:271
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMGlobalHeapRoot.h
Generated by
1.9.8