ESPHome 2025.6.3
|
#include <queue.h>
Public Member Functions | |
LockFreeQueue () | |
bool | push (T *element) |
T * | pop () |
size_t | size () const |
uint16_t | get_and_reset_dropped_count () |
void | increment_dropped_count () |
bool | empty () const |
bool | full () const |
Protected Attributes | |
T * | buffer_ [SIZE] |
std::atomic< uint16_t > | dropped_count_ |
std::atomic< uint8_t > | head_ |
std::atomic< uint8_t > | tail_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |