Navigation
API > API/Runtime > API/Runtime/Core
Interface for internal data of queued work objects.
This interface can be used to track some data between the individual function invokations of the FQueuedThreadPool Usually it is used to store some internal state to support cancellation without having to look it up from a map.
| Name | IQueuedWorkInternalData |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/IQueuedWork.h |
| Include Path | #include "Misc/IQueuedWork.h" |
Syntax
class IQueuedWorkInternalData : public FThreadSafeRefCountedObject
Inheritance Hierarchy
- TTransactionalAtomicRefCount → FThreadSafeRefCountedObject → IQueuedWorkInternalData
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IQueuedWorkInternalData() |
Virtual destructor so that child implementations are guaranteed a chance to clean up any resources they allocated. | Misc/IQueuedWork.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Retract () |
Called during retraction, when a task is pulled from being worked on. | Misc/IQueuedWork.h |