TRingBuffer::operator[]

Square bracket operators for accessing data in the buffer by FIFO index.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Online/BuildPatchServices/Private/Core/RingBuffer.h

Include

#include "Core/RingBuffer.h"

Syntax

const DataType & operator[]
(
    const int32 & Index
) const

Remarks

Square bracket operators for accessing data in the buffer by FIFO index. [0] returns the next entry in the FIFO that would get provided by Dequeue or Peek.

Returns

The data word

Parameters

Parameter

Description

Index

The index into the FIFO buffer

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