Filter
-
class Filter : public vslib::Component
Subclassed by vslib::BoxFilter< filter_order, maximal_filtered_value >, vslib::BoxFilter< 1 >, vslib::BoxFilter< 2 >, vslib::FIRFilter< filter_order >, vslib::IIRFilter< filter_order >
Public Functions
-
inline Filter(std::string_view type, std::string_view name, Component &parent)
Constructor of the Filter Component, serves as the base for the Filters interface.
-
virtual ~Filter() = default
-
virtual double filter(const double input) = 0
Method to implement filtering of the provided input.
- Parameters:
input – Value to be filtered
-
inline Filter(std::string_view type, std::string_view name, Component &parent)