UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMGlobalHeapCensusRoot.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
FMarkStack
;
12
13
// If you have a class that is meant to be used exclusively globally and has weak references, then
14
// subclass this to give that class the ability to conduct census and clear those references.
15
//
16
// Never use this for things that aren't truly global.
17
//
18
// It's fine to have classes subclass both FGLobalHeapRoot (for strong references) and
19
// FGLobalHeapCensusRoot (for weak references).
20
struct
FGlobalHeapCensusRoot
21
{
22
COREUOBJECT_API
FGlobalHeapCensusRoot
();
23
24
virtual
void
ConductCensus
() = 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
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMGlobalHeapCensusRoot.h
Generated by
1.9.8