Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLocalQueueRegistry
| Name | TLocalQueue |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Fundamental/LocalQueue.h |
| Include Path | #include "Async/Fundamental/LocalQueue.h" |
Syntax
class TLocalQueue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLocalQueue () |
Async/Fundamental/LocalQueue.h | ||
TLocalQueue
(
TLocalQueueRegistry& InRegistry, |
Async/Fundamental/LocalQueue.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TLocalQueue() |
Async/Fundamental/LocalQueue.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidIndex | uint32 | Async/Fundamental/LocalQueue.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitialized | std::atomic< bool > | Async/Fundamental/LocalQueue.h | ||
| CachedPriorityIndex | uint32 | Async/Fundamental/LocalQueue.h | ||
| CachedRandomIndex | uint32 | Async/Fundamental/LocalQueue.h | ||
| DequeueHazards | DequeueHazard | Async/Fundamental/LocalQueue.h | ||
| LocalQueues | FLocalQueueType | Async/Fundamental/LocalQueue.h | ||
| QueueType | ELocalQueueType | Async/Fundamental/LocalQueue.h | ||
| Registry | TLocalQueueRegistry * | Async/Fundamental/LocalQueue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTask * Dequeue
(
bool GetBackGroundTasks |
Check both the local and global queue in priority order. | Async/Fundamental/LocalQueue.h | |
FTask * DequeueSteal
(
bool GetBackGroundTasks |
Async/Fundamental/LocalQueue.h | ||
void Enqueue
(
FTask* Item, |
Add an item to the local queue and overflow into the global queue if full returns true if we should wake a worker | Async/Fundamental/LocalQueue.h | |
void Init
(
TLocalQueueRegistry& InRegistry, |
Async/Fundamental/LocalQueue.h | ||
FTask * StealLocal
(
bool GetBackGroundTasks |
Async/Fundamental/LocalQueue.h |