SatCat5
satcat5::ptp::SlidingWindow< T, MAX_WINDOW > Class Template Referencefinal

Detailed Description

template<typename T, unsigned MAX_WINDOW>
class satcat5::ptp::SlidingWindow< T, MAX_WINDOW >

A sliding-window circular buffer, retaining the last N samples.

Definition at line 96 of file ptp_filters.h.

#include <ptp_filters.h>

Inheritance diagram for satcat5::ptp::SlidingWindow< T, MAX_WINDOW >:
[legend]

Public Member Functions

void read (T *dst, unsigned count) const
 
void push (const T &next)
 
void reset ()
 

Protected Attributes

unsigned m_wridx
 
m_window [MAX_WINDOW]
 

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