|
|
The RTFilterBase class is the base class for all real time capable filters. More...
#include <ArmarXCore/observers/filters/rtfilters/RTFilterBase.h>
Inheritance diagram for RTFilterBase:Public Member Functions | |
| virtual double | calculate ()=0 |
| virtual RTFilterBasePtr | clone () const =0 |
| 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 ×tamp, double newValue) |
| virtual | ~RTFilterBase () |
Protected Attributes | |
| double | currentValue = 0.0 |
| boost::circular_buffer< std::pair< IceUtil::Time, double > > | dataHistory |
The RTFilterBase class is the base class for all real time capable filters.
Real Time capable means here that no heap memory allocation is done and no mutexes are locked during the update() function. Also the runtime must be the same during each call (e.g. no random searches).
| RTFilterBase | ( | size_t | historySize | ) |
|
default |
|
inlinevirtual |
|
pure virtual |
Implemented in AverageFilter, ButterworthFilter, GaussianFilter, MedianFilter, and TimeWindowAverageFilter.
|
pure virtual |
Implemented in AverageFilter, ButterworthFilter, GaussianFilter, MedianFilter, and TimeWindowAverageFilter.
| double getCurrentValue | ( | ) | const |
|
virtual |
| double update | ( | double | deltaSec, |
| double | newValue ) |
|
virtual |
Reimplemented in ButterworthFilter.
|
protected |
|
protected |