Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQueue
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FElementType * Peek () |
Peek at the queue's tail item without removing it. | Containers/Queue.h | |
const FElementType * Peek () |
Containers/Queue.h | ||
bool Peek
(
FElementType& OutItem |
Peeks at the queue's tail item without removing it.To be called only from consumer thread. | Containers/Queue.h |
Peek()
Description
Peek at the queue's tail item without removing it.
This version of Peek allows peeking at a queue of items that do not allow copying, such as TUniquePtr.
| Name | Peek |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Queue.h |
| Include Path | #include "Containers/Queue.h" |
FElementType * Peek()
Pointer to the item, or nullptr if queue is empty
Peek()
| Name | Peek |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Queue.h |
| Include Path | #include "Containers/Queue.h" |
const FElementType * Peek() const
Peek(FElementType &)
Description
Peeks at the queue's tail item without removing it.
To be called only from consumer thread.
| Name | Peek |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Queue.h |
| Include Path | #include "Containers/Queue.h" |
bool Peek
(
FElementType & OutItem
) const
true if an item was returned, false if the queue was empty.
Parameters
| Name | Remarks |
|---|---|
| OutItem | Will hold the peeked at item. |