#include <CircularBuffer.h>
Public Member Functions | |
bool | almostfull () const |
CircularBuffer (unsigned int nbits) | |
bool | empty () const |
bool | full () const |
T | peek () const |
T | read () |
void | reset () |
void | store (T element) |
~CircularBuffer ()=default | |
Private Attributes | |
std::vector< T > | buffer_ |
unsigned int | rptr_ |
unsigned int | size_ |
unsigned int | wptr_ |
Definition at line 10 of file CircularBuffer.h.
|
inline |
|
default |
|
inline |
|
inline |
Definition at line 32 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::peek(), and trklet::CircularBuffer< trklet::ProjectionTemp >::read().
|
inline |
Definition at line 26 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::store().
|
inline |
|
inline |
Definition at line 34 of file CircularBuffer.h.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
|
inline |
Definition at line 20 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::CircularBuffer().
|
inline |
|
private |
Definition at line 53 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::CircularBuffer(), trklet::CircularBuffer< trklet::ProjectionTemp >::peek(), trklet::CircularBuffer< trklet::ProjectionTemp >::read(), and trklet::CircularBuffer< trklet::ProjectionTemp >::store().
|
private |
Definition at line 59 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::almostfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::empty(), trklet::CircularBuffer< trklet::ProjectionTemp >::full(), trklet::CircularBuffer< trklet::ProjectionTemp >::peek(), trklet::CircularBuffer< trklet::ProjectionTemp >::read(), and trklet::CircularBuffer< trklet::ProjectionTemp >::reset().
|
private |
Definition at line 56 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::almostfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::CircularBuffer(), trklet::CircularBuffer< trklet::ProjectionTemp >::full(), trklet::CircularBuffer< trklet::ProjectionTemp >::read(), and trklet::CircularBuffer< trklet::ProjectionTemp >::store().
|
private |
Definition at line 60 of file CircularBuffer.h.
Referenced by trklet::CircularBuffer< trklet::ProjectionTemp >::almostfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::empty(), trklet::CircularBuffer< trklet::ProjectionTemp >::full(), trklet::CircularBuffer< trklet::ProjectionTemp >::reset(), and trklet::CircularBuffer< trklet::ProjectionTemp >::store().