Agora
1.2.0
Agora project
|
#include <circular_q.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
circular_q ()=default | |
circular_q (size_t max_items) | |
circular_q (const circular_q &)=default | |
circular_q & | operator= (const circular_q &)=default |
circular_q (circular_q &&other) SPDLOG_NOEXCEPT | |
circular_q & | operator= (circular_q &&other) SPDLOG_NOEXCEPT |
void | push_back (T &&item) |
const T & | front () const |
T & | front () |
size_t | size () const |
const T & | at (size_t i) const |
void | pop_front () |
bool | empty () const |
bool | full () const |
size_t | overrun_counter () const |
Private Member Functions | |
void | copy_moveable (circular_q &&other) SPDLOG_NOEXCEPT |
Private Attributes | |
size_t | max_items_ = 0 |
std::vector< T >::size_type | head_ = 0 |
std::vector< T >::size_type | tail_ = 0 |
size_t | overrun_counter_ = 0 |
std::vector< T > | v_ |
using spdlog::details::circular_q< T >::value_type = T |
|
default |
|
inlineexplicit |
|
default |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |