TCircularQueue::Enqueue

Adds an item to the end of the queue.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/CircularQueue.h"

Syntax

bool Enqueue
(
    const FElementType & 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.