TCircularQueue::Dequeue

Removes an item from the front of the queue. To be called only from consumer thread.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/CircularQueue.h"

Syntax

bool Dequeue
(
    ElementType & OutElement
)

Remarks

Removes an item from the front of the queue.

To be called only from consumer thread.

Returns

true if an element has been returned, false if the queue was empty.

Parameters

Parameter

Description

OutElement

Will contain the element if the queue is not empty.

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