ESPHome  2022.9.1
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 29 of file queue.h.

Constructor & Destructor Documentation

◆ Queue()

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

Definition at line 31 of file queue.h.

Member Function Documentation

◆ pop()

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

Definition at line 42 of file queue.h.

◆ push()

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

Definition at line 33 of file queue.h.

Field Documentation

◆ m_

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

Definition at line 57 of file queue.h.

◆ q_

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

Definition at line 56 of file queue.h.


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