20#ifndef DATA_MANAGEMENT_CIRC_BUFF_HPP
21#define DATA_MANAGEMENT_CIRC_BUFF_HPP
36template <
typename T, u
int32 L>
56template <
typename T, u
int32 L>
69template <
typename T, u
int32 L>
71 if(buffer ==
nullptr) {
CircularBuffer()
Definition CircularBuffer.hpp:40
int16 write(const T &instance)
Write a single data item into the buffer.
Definition CircularBuffer.hpp:57
int16 writeBuffer(const T *buffer, uint32 size)
Write a buffer of data items into the buffer.
Definition CircularBuffer.hpp:70
int16 pop()
Function to pop one value from the queue and discard it.
Definition Queue.hpp:220
int16 write(const T &instance)
Write a single data item into the queue.
Definition Queue.hpp:118
uint32 _vals_available
Number of values available in the queue.
Definition Queue.hpp:111
Queue()
Definition Queue.hpp:41
int16 writeBuffer(const T *buffer, uint32 size)
Write a buffer of data items into the queue.
Definition Queue.hpp:138
#define NO_ERROR
Error code in the case where matrix math executed successfully.
Definition clockwerkerrors.h:34
#define ERROR_NULLPTR
Error code in case of a null pointer.
Definition clockwerkerrors.h:60
#define WARNING_BUFFER_FULL
Warning in case buffer byte(s) need to be popped to write new values.
Definition clockwerkerrors.h:201
#define ERROR_QUEUE_FULL
Error in case the queue is full.
Definition clockwerkerrors.h:195
Definition CircularBuffer.hpp:28