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;
The RTFilterBase class is the base class for all real time capable filters.
virtual double calculate()=0
boost::circular_buffer< std::pair< IceUtil::Time, double > > dataHistory
virtual double update(IceUtil::Time const ×tamp, double newValue)
RTFilterBase(size_t historySize)
RTFilterBase(const RTFilterBase &other)=default
double getCurrentValue() const
virtual RTFilterBasePtr clone() const =0
std::shared_ptr< RTFilterBase > RTFilterBasePtr