Go to the documentation of this file.
24 #ifndef RTFILTERBASE_H
25 #define RTFILTERBASE_H
27 #include <boost/circular_buffer.hpp>
29 #include <IceUtil/Time.h>
53 double update(
double deltaSec,
double newValue);
59 boost::circular_buffer<std::pair<IceUtil::Time, double>>
dataHistory;
66 #endif // RTFILTERBASE_H
virtual double calculate()=0
std::shared_ptr< RTFilterBase > RTFilterBasePtr
virtual double update(IceUtil::Time const ×tamp, double newValue)
RTFilterBase(size_t historySize)
virtual RTFilterBasePtr clone() const =0
boost::circular_buffer< std::pair< IceUtil::Time, double > > dataHistory
The RTFilterBase class is the base class for all real time capable filters.
armarx::core::time::DateTime Time
double getCurrentValue() const