Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TCircularQueue
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FElementType * Peek () |
Returns the oldest item in the queue without removing it. | Containers/CircularQueue.h | |
bool Peek
(
FElementType& OutItem |
Returns the oldest item in the queue without removing it. | Containers/CircularQueue.h |
Peek()
Description
Returns the oldest item in the queue without removing it.
To be called only from consumer thread.
The return value is only valid until Dequeue, Empty, or the destructor has been called.
| Name | Peek |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include Path | #include "Containers/CircularQueue.h" |
const FElementType * Peek() const
an FElementType pointer if an item has been returned, nullptr if the queue was empty.
Peek(FElementType &)
Description
Returns the oldest item in the queue without removing it.
To be called only from consumer thread.
| Name | Peek |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include Path | #include "Containers/CircularQueue.h" |
bool Peek
(
FElementType & OutItem
) const
true if an item has been returned, false if the queue was empty.
Parameters
| Name | Remarks |
|---|---|
| OutItem | Will contain the item if the queue is not empty. |