AverageFilter Class Reference

#include <ArmarXCore/observers/filters/rtfilters/AverageFilter.h>

+ Inheritance diagram for AverageFilter:

Public Member Functions

 AverageFilter (size_t windowSize)
 
double calculate () override
 
RTFilterBasePtr clone () const override
 
- Public Member Functions inherited from RTFilterBase
double getCurrentValue () const
 
virtual void reset ()
 
 RTFilterBase (const RTFilterBase &other)=default
 
 RTFilterBase (size_t historySize)
 
double update (double deltaSec, double newValue)
 
virtual double update (IceUtil::Time const &timestamp, double newValue)
 
virtual ~RTFilterBase ()
 

Additional Inherited Members

- Protected Attributes inherited from RTFilterBase
double currentValue = 0.0
 
boost::circular_buffer< std::pair< IceUtil::Time, double > > dataHistory
 

Detailed Description

Definition at line 32 of file AverageFilter.h.

Constructor & Destructor Documentation

◆ AverageFilter()

AverageFilter ( size_t  windowSize)

Definition at line 29 of file AverageFilter.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ calculate()

double calculate ( )
overridevirtual

Implements RTFilterBase.

Definition at line 41 of file AverageFilter.cpp.

◆ clone()

RTFilterBasePtr clone ( ) const
overridevirtual

Implements RTFilterBase.

Definition at line 35 of file AverageFilter.cpp.

+ Here is the call graph for this function:

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