It is similar to the vector that stores a series of objects,though the head and the tail are attached inorder to enhance cyclic operations.
|
adds a new element to the bottom of a ring buffer.
References rbIsFull(). |
|
adds a new element to the top of a ring buffer.
References rbIsFull(). |
|
returns the first inserted element without removing it.
References rbIsEmpty(). |
|
finds the maximum capacity of the specified buffer.
|
|
empties the buffer.
|
|
makes a new copy of the ring buffer.
|
|
checks if the ringbuffer contains a specified element.
|
|
makes a copy of the container from src to dst.
Referenced by rbClone(). |
|
deletes a ringbuffer.
|
|
iterate over all items in the ring buffer and apply a function
|
|
checks if the given ringbuffer is empty.
Referenced by rbBottomPeek(), rbRemoveBottomElement(), rbRemoveTopElement(), and rbTopPeek(). |
|
checks if a given ring buffer is full.
Referenced by rbAddBottomElement(), and rbAddTopElement(). |
|
creates a new ringbuffer.
Referenced by rbClone(). |
|
removes the element from the bottom of the buffer.
References rbIsEmpty(). |
|
removes the element from the top of the buffer.
References rbIsEmpty(). |
|
finds the current size of the buffer.
|
|
returns the last inserted element without removing it.
References rbIsEmpty(). |