Class RingBuffer
template <class T, int N>
Public Functions
| Type | Name |
|---|---|
| RingBuffer () |
|
| bool | empty () |
| T & | front () |
| T & | item (int i) |
| void | pop () |
| void | push (const T & t) |
| int | size () |
Protected Attributes
| Type | Name |
|---|---|
| T | _elements |
| int | _head |
| int | _size |
| int | _tail |
Public Functions Documentation
function RingBuffer
inline RingBuffer::RingBuffer ()
function empty
inline bool RingBuffer::empty ()
function front
inline T & RingBuffer::front ()
function item
inline T & RingBuffer::item (
int i
)
function pop
inline void RingBuffer::pop ()
function push
inline void RingBuffer::push (
const T & t
)
function size
inline int RingBuffer::size ()
Protected Attributes Documentation
variable _elements
T RingBuffer< T, N >::_elements[N];
variable _head
int RingBuffer< T, N >::_head;
variable _size
int RingBuffer< T, N >::_size;
variable _tail
int RingBuffer< T, N >::_tail;
The documentation for this class was generated from the following file C:/Users/wistf/Unreal Projects/NightSkyEngine/Plugins/NightSkyEngine/Source/GGPOUE4/Private/ring_buffer.h