Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TCircularQueue
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Enqueue
(
const FElementType& Element |
Adds an item to the end of the queue.To be called only from producer thread. | Containers/CircularQueue.h | |
bool Enqueue
(
FElementType&& Element |
Adds an item to the end of the queue.To be called only from producer thread. | Containers/CircularQueue.h |
Enqueue(const FElementType &)
Description
Adds an item to the end of the queue.
To be called only from producer thread.
| Name | Enqueue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include Path | #include "Containers/CircularQueue.h" |
bool Enqueue
(
const FElementType & Element
)
true if the item was added, false if the queue was full.
Parameters
| Name | Remarks |
|---|---|
| Element | The element to add. |
Enqueue(FElementType &&)
Description
Adds an item to the end of the queue.
To be called only from producer thread.
| Name | Enqueue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include Path | #include "Containers/CircularQueue.h" |
bool Enqueue
(
FElementType && Element
)
true if the item was added, false if the queue was full.
Parameters
| Name | Remarks |
|---|---|
| Element | The element to add. |