ESPHome  2024.9.2
Public Member Functions | Protected Attributes
esphome::esp32_ble::Queue< T > Class Template Reference

#include <queue.h>

Public Member Functions

 Queue ()
 
void push (T *element)
 
T * pop ()
 

Protected Attributes

std::queue< T * > q_
 
SemaphoreHandle_t m_
 

Detailed Description

template<class T>
class esphome::esp32_ble::Queue< T >

Definition at line 22 of file queue.h.

Constructor & Destructor Documentation

◆ Queue()

template<class T>
esphome::esp32_ble::Queue< T >::Queue ( )
inline

Definition at line 24 of file queue.h.

Member Function Documentation

◆ pop()

template<class T>
T* esphome::esp32_ble::Queue< T >::pop ( )
inline

Definition at line 35 of file queue.h.

◆ push()

template<class T>
void esphome::esp32_ble::Queue< T >::push ( T *  element)
inline

Definition at line 26 of file queue.h.

Field Documentation

◆ m_

template<class T>
SemaphoreHandle_t esphome::esp32_ble::Queue< T >::m_
protected

Definition at line 50 of file queue.h.

◆ q_

template<class T>
std::queue<T *> esphome::esp32_ble::Queue< T >::q_
protected

Definition at line 49 of file queue.h.


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