ESPHome 2025.7.1
Loading...
Searching...
No Matches
esphome::NotifyingLockFreeQueue< T, SIZE > Class Template Reference

#include <lock_free_queue.h>

Inheritance diagram for esphome::NotifyingLockFreeQueue< T, SIZE >:
esphome::LockFreeQueue< T, SIZE >

Public Member Functions

 NotifyingLockFreeQueue ()
 
bool push (T *element)
 
void set_task_to_notify (TaskHandle_t task)
 
- Public Member Functions inherited from esphome::LockFreeQueue< T, SIZE >
 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
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::LockFreeQueue< T, SIZE >
bool push_internal_ (T *element, bool &was_empty, uint8_t &old_tail)
 
- Protected Attributes inherited from esphome::LockFreeQueue< T, SIZE >
T * buffer_ [SIZE]
 
std::atomic< uint16_t > dropped_count_
 
std::atomic< uint8_t > head_
 
std::atomic< uint8_t > tail_
 

Detailed Description

template<class T, uint8_t SIZE>
class esphome::NotifyingLockFreeQueue< T, SIZE >

Definition at line 115 of file lock_free_queue.h.

Constructor & Destructor Documentation

◆ NotifyingLockFreeQueue()

template<class T , uint8_t SIZE>
esphome::NotifyingLockFreeQueue< T, SIZE >::NotifyingLockFreeQueue ( )
inline

Definition at line 117 of file lock_free_queue.h.

Member Function Documentation

◆ push()

template<class T , uint8_t SIZE>
bool esphome::NotifyingLockFreeQueue< T, SIZE >::push ( T * element)
inline

Definition at line 119 of file lock_free_queue.h.

◆ set_task_to_notify()

template<class T , uint8_t SIZE>
void esphome::NotifyingLockFreeQueue< T, SIZE >::set_task_to_notify ( TaskHandle_t task)
inline

Definition at line 143 of file lock_free_queue.h.


The documentation for this class was generated from the following file: