TCircularQueue::Enqueue

Adds an item to the end of the queue.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h

Include

#include "Containers/CircularQueue.h"

Syntax

bool Enqueue
(
    ElementType && Element
)

Remarks

Adds an item to the end of the queue.

Returns

true if the item was added, false if the queue was full. @note To be called only from producer thread.

Parameters

Parameter

Description

Element

The element to add.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss