QBoundedCircularBuffer Class


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_)

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()

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.