Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSpscQueue
Allows the single consumer to iterate the contents of the queue without popping from it.
The single producer may continue to insert items in the queue while the consumer is iterating. These new items may or may not be seen by the consumer, since the consumer might have finished iterating before reaching those new elements.
| Name | FIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SpscQueue.h |
| Include Path | #include "Containers/SpscQueue.h" |
Syntax
struct FIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIterator
(
const TSpscQueue& Queue |
Containers/SpscQueue.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Current | TSpscQueue::FNode * | Containers/SpscQueue.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ElementType & operator*() |
Containers/SpscQueue.h | ||
FIterator & operator++() |
Containers/SpscQueue.h | ||
bool operator==
(
std::nullptr_t |
Containers/SpscQueue.h |