Navigation
API > API/Runtime > API/Runtime/Core
| Name | TLocalQueueRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Fundamental/LocalQueue.h |
| Include Path | #include "Async/Fundamental/LocalQueue.h" |
Syntax
template<uint32 NumLocalItems, uint32 MaxLocalQueues>
class TLocalQueueRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLocalQueueRegistry() |
Async/Fundamental/LocalQueue.h |
Classes
| Name | Remarks |
|---|---|
| TLocalQueue |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DequeueHazard | typename FOverflowQueueType::DequeueHazard | Async/Fundamental/LocalQueue.h | |
| FLocalQueueType | LocalQueue_Impl::TWorkStealingQueue2< FTask, NumLocalItems > | Async/Fundamental/LocalQueue.h | |
| FOverflowQueueType | FAAArrayQueue< FTask > | Async/Fundamental/LocalQueue.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LocalQueues | std::atomic< TLocalQueue * > | Async/Fundamental/LocalQueue.h | ||
| NumLocalQueues | std::atomic< uint32 > | Async/Fundamental/LocalQueue.h | ||
| OverflowQueues | FOverflowQueueType | Async/Fundamental/LocalQueue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTask * DequeueGlobal
(
bool GetBackGroundTasks |
Grab an Item directy from the Global OverflowQueue | Async/Fundamental/LocalQueue.h | |
FTask * DequeueSteal
(
bool GetBackGroundTasks |
Async/Fundamental/LocalQueue.h | ||
void Enqueue
(
FTask* Item, |
Enqueue an Item directy into the Global OverflowQueue | Async/Fundamental/LocalQueue.h | |
void Reset() |
Not thread-safe. | Async/Fundamental/LocalQueue.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 Rand() |
Async/Fundamental/LocalQueue.h |