UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMCollectionCycleRequest.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
9namespace Verse
10{
11struct FIOContext;
12
14{
15 FCollectionCycleRequest() = default;
16
17 COREUOBJECT_API bool IsDone() const;
18
19 // This needs an IO context because waiting for the GC in a running context is sure to deadlock.
20 //
21 // Waiting on one of these requests is totally optional.
23
25 {
27 {
28 return *this;
29 }
30 else
31 {
33 }
34 }
35
36private:
37 friend class FHeap;
38
41 {
42 }
43
45};
46
47} // namespace Verse
48#endif // WITH_VERSE_VM
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_AUTORTFM_NOAUTORTFM FWaitState Wait(const void *Address, bool(*CanWait)(void *), void *CanWaitContext, void(*BeforeWait)(void *), void *BeforeWaitContext)
Definition ParkingLot.cpp:504
Definition Archive.h:36