TCircularQueue::Enqueue

Adds an item to the end of the queue. To be called only from producer thread.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/CircularQueue.h"

Syntax

bool Enqueue
(
    const ElementType & Element
)

Remarks

Adds an item to the end of the queue.

To be called only from producer thread.

Returns

true if the item was added, false if the queue was full.

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