Red Bird Racing VCU v2
 
Loading...
Searching...
No Matches
Filter< TypeInput, TypeMid > Class Template Referenceabstract

Abstract Base Class for signal filters. Defines the interface for adding samples and retrieving filtered values. More...

#include <SignalProcessing.hpp>

Inheritance diagram for Filter< TypeInput, TypeMid >:
Collaboration diagram for Filter< TypeInput, TypeMid >:

Public Member Functions

virtual void addSample (TypeInput sample)=0
 
virtual TypeInput getFiltered () const =0
 

Detailed Description

template<typename TypeInput, typename TypeMid>
class Filter< TypeInput, TypeMid >

Abstract Base Class for signal filters. Defines the interface for adding samples and retrieving filtered values.

Template Parameters
TypeInputType of the input samples.
TypeMidType used for intermediate calculations.

Definition at line 22 of file SignalProcessing.hpp.

Member Function Documentation

◆ addSample()

template<typename TypeInput , typename TypeMid >
virtual void Filter< TypeInput, TypeMid >::addSample ( TypeInput  sample)
pure virtual

◆ getFiltered()

template<typename TypeInput , typename TypeMid >
virtual TypeInput Filter< TypeInput, TypeMid >::getFiltered ( ) const
pure virtual

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