Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- IQueuedWork
- FAsyncEncode
- FAsyncTaskBase
- FAsyncTask
- FAsyncTaskExecuterWithAbort
- FAsyncTaskExecuterWithProgressCancel
- FSkinnedAssetAsyncBuildTask
- FStaticMeshAsyncBuildTask
- FAutoDeleteAsyncTask
- FQueuedThreadPoolWrapper::FScheduledWork
- TAsyncQueuedWork
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/IQueuedWork.h |
Include | #include "Misc/IQueuedWork.h" |
Syntax
class IQueuedWork
Remarks
Interface for queued work objects.
This interface is a type of runnable object that requires no per thread initialization. It is meant to be used with pools of threads in an abstract way that prevents the pool from needing to know any details about the object being run. This allows queuing of disparate tasks and servicing those tasks with a generic thread pool.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
IInternalDataType | InternalData |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~IQueuedWork () |
Virtual destructor so that child implementations are guaranteed a chance to clean up any resources they allocated. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Abandon () |
Tells the queued work that it is being abandoned so that it can do per object clean up as needed. |
![]() |
void | This is where the real thread work is done. | |
![]() ![]() ![]() |
const TCHAR * | GetDebugName () |
Returns text to identify the Work, for debug/log purposes only |
![]() ![]() ![]() |
EQueuedWorkFlags | Returns any special work flags. | |
![]() ![]() ![]() |
int64 | Returns an approximation of the peak memory (in bytes) this task could require during it's execution. |
Typedefs
Name | Description |
---|---|
IInternalDataType | Internal data can be used by the pool |