Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
accumulating_averager< type > Class Template Reference

simple average mechanism using the sum of input values More...

#include <accumulating_averager.h>

Public Member Functions

 accumulating_averager (void)
 
void update (type input)
 
type get_average (void) const
 
void reset (type set_this_value, unsigned set_this_count)
 

Detailed Description

template<typename type>
class accumulating_averager< type >

simple average mechanism using the sum of input values

Definition at line 5 of file accumulating_averager.h.

Constructor & Destructor Documentation

◆ accumulating_averager()

Definition at line 8 of file accumulating_averager.h.

Member Function Documentation

◆ get_average()

template<typename type >
type accumulating_averager< type >::get_average ( void  ) const
inline

Definition at line 16 of file accumulating_averager.h.

◆ reset()

template<typename type >
void accumulating_averager< type >::reset ( type  set_this_value,
unsigned  set_this_count 
)
inline

Definition at line 24 of file accumulating_averager.h.

◆ update()

template<typename type >
void accumulating_averager< type >::update ( type  input)
inline

Definition at line 11 of file accumulating_averager.h.


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