SSCMA-Micro CPP SDK
v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
|
#include <ma_ringbuffer.hpp>
Public Member Functions | |
SPSCRingBuffer (size_t size) noexcept | |
~SPSCRingBuffer () noexcept | |
size_t | capacity () const |
size_t | size () const |
bool | empty () const |
size_t | push (const T *data, size_t size) noexcept |
size_t | pop (T *data, size_t size) noexcept |
size_t | popIf (T *data, size_t size, T value) noexcept |
void | clear () noexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |