UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMHardHandshakeContext.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 "
VVMContext.h
"
8
#include "
VVMStoppedWorld.h
"
9
10
namespace
Verse
11
{
12
struct
FContextImpl
;
13
14
// Hard handshake is another way of saying "stop the world, do something, and resume the world". This is the
15
// kind of context you get when you stop the world via FIOContext::HardHandshake(). It lets you do anything an
16
// IO context can do, plus it lets you access all of the stopped contexts.
17
struct
FHardHandshakeContext
:
FIOContext
18
{
19
FHardHandshakeContext
(
const
FHardHandshakeContext
&) =
default
;
20
21
const
TArray<FAccessContext>
&
GetStoppedContexts
() {
return
StoppedWorld
->GetContexts(); }
22
23
private
:
24
friend
struct
FContextImpl
;
25
26
FHardHandshakeContext
(
FContextImpl
*
Impl
,
FStoppedWorld
*
StoppedWorld
)
27
:
FIOContext
(
Impl
,
EIsInHandshake
::
No
)
28
,
StoppedWorld
(
StoppedWorld
)
29
{
30
}
31
32
FStoppedWorld
*
StoppedWorld
;
33
};
34
35
}
// namespace Verse
36
#endif
// WITH_VERSE_VM
EAllowShrinking::No
@ No
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
VVMContext.h
VVMStoppedWorld.h
TArray
Definition
Array.h:670
Impl
Definition
ExpressionParserTypes.h:21
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMHardHandshakeContext.h
Generated by
1.9.8