Class mudaq::CircularBuffer
template <unsigned O, typename T>
ClassList > mudaq > CircularBuffer
#include <mudaq_circular_buffer.hpp>
Inherits the following classes: mudaq::CircularBufferProxy
Public Types
| Type | Name |
|---|---|
| typedef CircularBufferProxy< O, T > | Base |
Public Types inherited from mudaq::CircularBufferProxy
See mudaq::CircularBufferProxy
| Type | Name |
|---|---|
| typedef CircularSubBufferProxy< BUFFER_ORDER, T > | SubBuffer |
Public Static Attributes inherited from mudaq::CircularBufferProxy
See mudaq::CircularBufferProxy
| Type | Name |
|---|---|
| const size_t | BUFFER_MASK = (BUFFER\_SIZE - 1) |
| const size_t | BUFFER_ORDER = O |
| const size_t | BUFFER_SIZE = (1 << BUFFER\_ORDER) |
Public Functions
| Type | Name |
|---|---|
| CircularBuffer () |
Public Functions inherited from mudaq::CircularBufferProxy
See mudaq::CircularBufferProxy
| Type | Name |
|---|---|
| CircularBufferProxy () |
|
| CircularBufferProxy (void * base) |
|
| bool | empty () const |
| bool | operator! () const |
| T | operator[] (size_t idx) const |
| size_t | size () const |
| SubBuffer | sub_buffer (size_t offset, size_t size) const |
Detailed Description
an fixed size circular buffer
Public Types Documentation
typedef Base
typedef CircularBufferProxy<O, T> mudaq::CircularBuffer< O, T >::Base;
Public Functions Documentation
function CircularBuffer
inline mudaq::CircularBuffer::CircularBuffer ()
The documentation for this class was generated from the following file midas_fe/libmudaq/mudaq_circular_buffer.hpp