SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE > Class Template Reference

#include <moving_avg.hpp>

Public Member Functions

 moving_avg (InputT init=0)
void reset (InputT val)
moving_avgoperator() (InputT sample)
OutputT operator() () const

Detailed Description

template<typename OutputT, typename InputT, size_t SIZE>
class satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE >

Definition at line 30 of file moving_avg.hpp.

Constructor & Destructor Documentation

◆ moving_avg()

template<typename OutputT, typename InputT, size_t SIZE>
satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE >::moving_avg ( InputT init = 0)
inline

Definition at line 37 of file moving_avg.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename OutputT, typename InputT, size_t SIZE>
OutputT satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE >::operator() ( ) const
inline

Definition at line 63 of file moving_avg.hpp.

◆ operator()() [2/2]

template<typename OutputT, typename InputT, size_t SIZE>
moving_avg & satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE >::operator() ( InputT sample)
inline

Definition at line 54 of file moving_avg.hpp.

◆ reset()

template<typename OutputT, typename InputT, size_t SIZE>
void satnogs::comms::utils::moving_avg< OutputT, InputT, SIZE >::reset ( InputT val)
inline

Definition at line 46 of file moving_avg.hpp.


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