5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
22template <
typename TFunctor>
25 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
36 if (!Scope->ShouldExecuteCodeWithThisScope())
41 Impl->SetCurrentTaskGroup(Scope->GetTaskGroup());
52 Impl->StartComputationWatchdog();
55 Sampler->SetMutatorContext(
this);
61 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
77 .EffectToken = VValue::EffectDoneMarker()};
84 else if (Mode == EEnterVMMode::NewTransaction)
90 Impl->_NativeFrame->Start(*
this);
92 Impl->_NativeFrame->CommitIfNoAbort(*
this);
100 if (AutoRTFM::IsTransactional())
108 AutoRTFM::TransactThenOpen([&] {
SetupAndRun(); });
113 Impl->PauseComputationWatchdog();
117 Sampler->SetMutatorContext(
nullptr);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ON_SCOPE_EXIT
Definition ScopeExit.h:73
Definition SharedPointer.h:153
static const TSharedRef< FContentScope > & GetActiveScope()
Definition VVMContentScope.h:101
static bool IsActive()
Definition VVMContentScope.h:100
Definition ExpressionParserTypes.h:21
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
Definition UnrealTemplate.h:341