|
spdlog
|
Definition at line 13 of file circular_q.h.
#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 |
Definition at line 22 of file circular_q.h.
|
default |
|
inlineexplicit |
Definition at line 27 of file circular_q.h.
|
default |
|
inline |
Definition at line 37 of file circular_q.h.
|
inline |
Definition at line 91 of file circular_q.h.
|
inlineprivate |
Definition at line 126 of file circular_q.h.
|
inline |
Definition at line 104 of file circular_q.h.
|
inline |
Definition at line 71 of file circular_q.h.
|
inline |
Definition at line 66 of file circular_q.h.
|
inline |
Definition at line 109 of file circular_q.h.
|
inline |
Definition at line 42 of file circular_q.h.
|
default |
|
inline |
Definition at line 119 of file circular_q.h.
|
inline |
Definition at line 99 of file circular_q.h.
|
inline |
Definition at line 49 of file circular_q.h.
|
inline |
Definition at line 77 of file circular_q.h.
|
private |
Definition at line 16 of file circular_q.h.
|
private |
Definition at line 15 of file circular_q.h.
|
private |
Definition at line 18 of file circular_q.h.
|
private |
Definition at line 17 of file circular_q.h.
|
private |
Definition at line 19 of file circular_q.h.