AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Public Member Functions | List of all members
painlessmesh::buffer::ReceiveBuffer< T > Class Template Reference

ReceivedBuffer handles cstrings and stores them as strings. More...

#include <buffer.hpp>

Public Member Functions

 ReceiveBuffer ()
 
void push (const char *cstr, size_t length, temp_buffer_t &buf)
 
T front ()
 
void pop_front ()
 
bool empty ()
 
void clear ()
 

Detailed Description

template<class T>
class painlessmesh::buffer::ReceiveBuffer< T >

ReceivedBuffer handles cstrings and stores them as strings.

Constructor & Destructor Documentation

◆ ReceiveBuffer()

template<class T >
painlessmesh::buffer::ReceiveBuffer< T >::ReceiveBuffer ( )
inline

Member Function Documentation

◆ clear()

template<class T >
void painlessmesh::buffer::ReceiveBuffer< T >::clear ( )
inline

Clear the buffer

◆ empty()

template<class T >
bool painlessmesh::buffer::ReceiveBuffer< T >::empty ( )
inline

Is the buffer empty

◆ front()

template<class T >
T painlessmesh::buffer::ReceiveBuffer< T >::front ( )
inline

Get the oldest message from the buffer

◆ pop_front()

template<class T >
void painlessmesh::buffer::ReceiveBuffer< T >::pop_front ( )
inline

Remove the oldest message from the buffer

◆ push()

template<class T >
void painlessmesh::buffer::ReceiveBuffer< T >::push ( const char *  cstr,
size_t  length,
temp_buffer_t &  buf 
)
inline

Push a message into the buffer


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