SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::ZipBase< N > Class Template Referenceabstract

#include <sensesp/transforms/zip.h>

Inheritance diagram for sensesp::ZipBase< N >:
[legend]

Public Member Functions

 ZipBase (long max_age=0)
 

Protected Member Functions

virtual void emit_tuple ()=0
 
virtual void check_emit ()
 

Protected Attributes

elapsedMillis age_ [N]
 
bool fresh_ [N]
 
long max_age_
 

Detailed Description

template<int N>
class sensesp::ZipBase< N >

Definition at line 18 of file zip.h.

Constructor & Destructor Documentation

◆ ZipBase()

template<int N>
sensesp::ZipBase< N >::ZipBase ( long max_age = 0)
inline

Definition at line 20 of file zip.h.

Member Function Documentation

◆ check_emit()

template<int N>
virtual void sensesp::ZipBase< N >::check_emit ( )
inlineprotectedvirtual

Definition at line 34 of file zip.h.

Here is the call graph for this function:

◆ emit_tuple()

template<int N>
virtual void sensesp::ZipBase< N >::emit_tuple ( )
protectedpure virtual

Implemented in sensesp::Zip3< T1, T2, T3 >, sensesp::Zip4< T1, T2, T3, T4 >, sensesp::Zip5< T1, T2, T3, T4, T5 >, and sensesp::Zip< T1, T2 >.

Here is the caller graph for this function:

Member Data Documentation

◆ age_

template<int N>
elapsedMillis sensesp::ZipBase< N >::age_[N]
protected

Definition at line 28 of file zip.h.

◆ fresh_

template<int N>
bool sensesp::ZipBase< N >::fresh_[N]
protected

Definition at line 29 of file zip.h.

◆ max_age_

template<int N>
long sensesp::ZipBase< N >::max_age_
protected

Definition at line 30 of file zip.h.


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