TCircularQueue::Dequeue

Removes an item from the front 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 Dequeue
(
    FElementType & OutElement
)

Remarks

Removes an item from the front of the queue.

Returns

true if an element has been returned, false if the queue was empty. @note To be called only from consumer thread.

Parameters

Parameter

Description

OutElement

Will contain the element if the queue is not empty.