QBoundedCircularBuffer Class

(Qt3DCore::QBoundedCircularBuffer)

Public Functions

QBoundedCircularBuffer(int capacity_)
void append(const T &t)
T at(int i) const
T back() const
int capacity() const
void clear()
int freeSize() const
T front() const
bool isEmpty() const
bool isFull() const
T pop()
T pop_front()
void push(const T &t)
void push_back(const T &value)
int size() const
T takeFirst()

Member Function Documentation

QBoundedCircularBuffer::QBoundedCircularBuffer(int capacity_)

Default constructs an instance of QBoundedCircularBuffer.

void QBoundedCircularBuffer::append(const T &t)

T QBoundedCircularBuffer::at(int i) const

T QBoundedCircularBuffer::back() const

int QBoundedCircularBuffer::capacity() const

void QBoundedCircularBuffer::clear()

int QBoundedCircularBuffer::freeSize() const

T QBoundedCircularBuffer::front() const

bool QBoundedCircularBuffer::isEmpty() const

bool QBoundedCircularBuffer::isFull() const

T QBoundedCircularBuffer::pop()

T QBoundedCircularBuffer::pop_front()

void QBoundedCircularBuffer::push(const T &t)

void QBoundedCircularBuffer::push_back(const T &value)

int QBoundedCircularBuffer::size() const

T QBoundedCircularBuffer::takeFirst()