Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
differential_buffer_t< T > Struct Template Reference

Struct with dynamic length, used by StackBuffer class. More...

#include <cs_DifferentialBuffer.h>

Public Attributes

uint16_t length
 Number of elements stored in this struct. More...
 
T firstVal
 Value of the oldest element in the buffer. More...
 
T lastVal
 Value of the newest element in the buffer. More...
 
int8_t array [1]
 Pointer to the array storing the difference of elements compared to the previous element. More...
 

Detailed Description

template<typename T>
struct differential_buffer_t< T >

Struct with dynamic length, used by StackBuffer class.

Member Data Documentation

◆ array

template<typename T >
int8_t differential_buffer_t< T >::array[1]

Pointer to the array storing the difference of elements compared to the previous element.

◆ firstVal

template<typename T >
T differential_buffer_t< T >::firstVal

Value of the oldest element in the buffer.

◆ lastVal

template<typename T >
T differential_buffer_t< T >::lastVal

Value of the newest element in the buffer.

◆ length

template<typename T >
uint16_t differential_buffer_t< T >::length

Number of elements stored in this struct.


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