Public Member Functions | Private Member Functions | List of all members
MovingAverageWeighted< T > Class Template Reference

#include <moving_average.h>

Inheritance diagram for MovingAverageWeighted< T >:
Inheritance graph
[legend]

Public Member Functions

 MovingAverageWeighted (uint16_t size)
 
- Public Member Functions inherited from MovingAverageSimple< T >
virtual void addElement (T element)
 
virtual bool calcMovingAverage (T &average) const
 
 MovingAverageSimple (uint16_t size)
 
virtual void reset ()
 
- Public Member Functions inherited from MovingAverageBase< T >
 MovingAverageBase ()
 

Private Member Functions

double triangle (uint16_t n)
 

Additional Inherited Members

- Protected Attributes inherited from MovingAverageSimple< T >
std::deque< T > s_
 
uint16_t size_
 
std::deque< double > weighting_
 

Detailed Description

template<typename T>
class MovingAverageWeighted< T >

Definition at line 97 of file moving_average.h.

Constructor & Destructor Documentation

template<typename T >
MovingAverageWeighted< T >::MovingAverageWeighted ( uint16_t  size)
inlineexplicit

Definition at line 100 of file moving_average.h.

Member Function Documentation

template<typename T >
double MovingAverageWeighted< T >::triangle ( uint16_t  n)
inlineprivate

Definition at line 111 of file moving_average.h.


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


cob_twist_controller
Author(s): Felix Messmer , Marco Bezzon , Christoph Mark , Francisco Moreno
autogenerated on Thu Apr 8 2021 02:40:01