UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IQueuedWork.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
7
10{
11 None,
12
21 DoNotRunInsideBusyWait = (1 << 0),
22
23 Count
24};
25
27
35{
36public:
41 virtual bool Retract() = 0;
42
43public:
44
50};
51
62{
63public:
68 virtual void DoThreadedWork() = 0;
69
76 virtual void Abandon() = 0;
77
82
86 virtual int64 GetRequiredMemory() const
87 {
88 return -1 /* Negative value means unknown */;
89 }
90
94 virtual const TCHAR * GetDebugName() const
95 {
96 return nullptr;
97 }
98
99public:
100
105 virtual ~IQueuedWork() { }
106
112};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
EQueuedWorkFlags
Definition IQueuedWork.h:10
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition RefCounting.h:283
Definition IQueuedWork.h:35
virtual bool Retract()=0
virtual ~IQueuedWorkInternalData()
Definition IQueuedWork.h:49
Definition IQueuedWork.h:62
virtual ~IQueuedWork()
Definition IQueuedWork.h:105
virtual int64 GetRequiredMemory() const
Definition IQueuedWork.h:86
virtual void DoThreadedWork()=0
virtual EQueuedWorkFlags GetQueuedWorkFlags() const
Definition IQueuedWork.h:81
virtual void Abandon()=0
virtual const TCHAR * GetDebugName() const
Definition IQueuedWork.h:94
IInternalDataType InternalData
Definition IQueuedWork.h:111