TQueue::Enqueue

Adds an item to the head of the queue.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/Queue.h"

Syntax

bool Enqueue
(
    const FElementType & Item
)

Remarks

Adds an item to the head of the queue.

Returns

true if the item was added, false otherwise. @note To be called only from producer thread(s).

Parameters

Parameter

Description

Item

The item to add.

See Also