Search Results for

    Show / Hide Table of Contents

    Class RingBuffer

    Template for ring buffer with variable capacity.

    Inheritance
    RingBuffer
    Inherited Members
    RingBuffer
    RingBuffer
    Assembly: FlaxEngine.dll
    File: Engine/Core/Collections/RingBuffer.h
    Syntax
    public class RingBuffer<T, AllocationType>
    Type Parameters
    typename T

    typename AllocationType

    Constructors

    ~RingBuffer()

    Declaration
    public ~RingBuffer()

    Methods

    Capacity()

    Declaration
    public int32 Capacity() const
    Returns
    int32

    Clear()

    Declaration
    public void Clear()

    Count()

    Declaration
    public int32 Count() const
    Returns
    int32

    Get()

    Declaration
    public T* Get()
    Returns
    T

    operator[](const int32 index)

    Declaration
    public T operator[](const int32 index)
    Parameters
    int32 index

    Returns
    T

    PeekFront()

    Declaration
    public T PeekFront()
    Returns
    T

    PopFront()

    Declaration
    public void PopFront()

    PushBack(const T& data)

    Declaration
    public void PushBack(const T& data)
    Parameters
    T data

    Release()

    Declaration
    public void Release()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat