5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
40 enum class EPhase :
int8
48 EPhase Phase{EPhase::Active};
111 bool Active()
const {
return Phase < EPhase::CancelStarted && !
Result; }
130 AutoRTFM::RecordOpenWrite(&Phase);
136 AutoRTFM::RecordOpenWrite(&
ResumePC);
142 AutoRTFM::RecordOpenWrite(&
YieldPC);
151 AutoRTFM::RecordOpenWrite(&
bRunning);
157 AutoRTFM::RecordOpenWrite(&
bRunning);
167 LastTask->NextTask.SetTransactionally(
Context,
this);
169 LastTask.SetTransactionally(
Context,
this);
174 if (LastTask.Get() ==
this)
190 NextTask.ResetTransactionally(
Context);
196 !
TIsTFunction<std::decay_t<FunctorType>>
::Value && std::is_invocable_r_v<
void, std::decay_t<FunctorType>, FAllocationContext,
VTask*>)>
197 void Defer(FAllocationContext
Context, FunctorType&& Func)
200 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
209 !
TIsTFunction<std::decay_t<FunctorType>>
::Value && std::is_invocable_r_v<
void, std::decay_t<FunctorType>, FAllocationContext,
VTask*>)>
213 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
287 AutoRTFM::RecordOpenWrite(&
Count);
294 AutoRTFM::RecordOpenWrite(&
Count);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
T * New(FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
Definition MemStack.h:259
#define UE_REQUIRES(...)
Definition Requires.h:86
Definition StringBuilder.h:79
void Suspend(bool bIsInterrupt=false)
Definition LaunchIOS.cpp:60
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
bool SerializeImpl(const UScriptStruct *InSourceEventType, const void *InSourceEventData, FLiveLinkSerializedFrameData &OutSerializedData)
Definition LiveLinkCompression.cpp:126
UE_STRING_CLASS Result(Forward< LhsType >(Lhs), RhsLen)
Definition String.cpp.inl:732
Definition FunctionFwd.h:32