Public Member Functions | Private Attributes
MovingAverageExponential< T > Class Template Reference

#include <moving_average.h>

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

List of all members.

Public Member Functions

void addElement (T element)
bool calcMovingAverage (T &average) const
 MovingAverageExponential (double factor)
virtual void reset ()

Private Attributes

T average_
bool empty_
double factor_

Detailed Description

template<typename T>
class MovingAverageExponential< T >

Definition at line 126 of file moving_average.h.


Constructor & Destructor Documentation

template<typename T >
MovingAverageExponential< T >::MovingAverageExponential ( double  factor) [inline, explicit]

Definition at line 129 of file moving_average.h.


Member Function Documentation

template<typename T >
void MovingAverageExponential< T >::addElement ( T  element) [inline, virtual]

Implements MovingAverageBase< T >.

Definition at line 142 of file moving_average.h.

template<typename T >
bool MovingAverageExponential< T >::calcMovingAverage ( T average) const [inline, virtual]

Implements MovingAverageBase< T >.

Definition at line 155 of file moving_average.h.

template<typename T >
virtual void MovingAverageExponential< T >::reset ( ) [inline, virtual]

Implements MovingAverageBase< T >.

Definition at line 136 of file moving_average.h.


Member Data Documentation

template<typename T >
T MovingAverageExponential< T >::average_ [private]

Definition at line 172 of file moving_average.h.

template<typename T >
bool MovingAverageExponential< T >::empty_ [private]

Definition at line 170 of file moving_average.h.

template<typename T >
double MovingAverageExponential< T >::factor_ [private]

Definition at line 171 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 Jun 6 2019 21:19:26