#include <CircularBuffer.h>
Public Member Functions | |
bool | almostfull () const |
CircularBuffer (unsigned int nbits) | |
bool | empty () const |
bool | full () const |
bool | nearfull () const |
const T & | peek () const |
const T & | read () |
void | reset () |
unsigned int | rptr () const |
void | store (T element) |
unsigned int | wptr () const |
~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 |
Definition at line 12 of file CircularBuffer.h.
|
default |
|
inline |
Definition at line 29 of file CircularBuffer.h.
|
inline |
Definition at line 37 of file CircularBuffer.h.
Referenced by trklet::TrackletProcessor::execute(), 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 46 of file CircularBuffer.h.
|
inline |
Definition at line 39 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 |
|
inline |
Definition at line 51 of file CircularBuffer.h.
Referenced by trklet::TrackletProcessor::execute().
|
inline |
|
private |
Definition at line 63 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 69 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 >::nearfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::peek(), trklet::CircularBuffer< trklet::ProjectionTemp >::read(), trklet::CircularBuffer< trklet::ProjectionTemp >::reset(), trklet::CircularBuffer< trklet::ProjectionTemp >::rptr(), and trklet::CircularBuffer< trklet::ProjectionTemp >::store().
|
private |
Definition at line 66 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 >::nearfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::read(), and trklet::CircularBuffer< trklet::ProjectionTemp >::store().
|
private |
Definition at line 70 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 >::nearfull(), trklet::CircularBuffer< trklet::ProjectionTemp >::reset(), trklet::CircularBuffer< trklet::ProjectionTemp >::store(), and trklet::CircularBuffer< trklet::ProjectionTemp >::wptr().