Public Member Functions | Protected Attributes | List of all members
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T > Class Template Referenceabstract

Filter base class. More...

#include <ignition/math/Filter.hh>

Inheritance diagram for ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >:
[legend]

Public Member Functions

virtual ~Filter ()
 Destructor. More...
 
virtual void Fc (double _fc, double _fs)=0
 Set the cutoff frequency and sample rate. More...
 
virtual void Set (const T &_val)
 Set the output of the filter. More...
 
virtual const T & Value () const
 Get the output of the filter. More...
 

Protected Attributes

y0 {}
 Output. More...
 

Detailed Description

template<class T>
class ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >

Filter base class.

Constructor & Destructor Documentation

◆ ~Filter()

template<class T >
virtual ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::~Filter ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Fc()

template<class T >
virtual void ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::Fc ( double  _fc,
double  _fs 
)
pure virtual

◆ Set()

template<class T >
virtual void ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::Set ( const T &  _val)
inlinevirtual

◆ Value()

template<class T >
virtual const T& ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::Value ( ) const
inlinevirtual

Get the output of the filter.

Returns
Filter's output.

References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::y0.

Member Data Documentation

◆ y0

template<class T >
T ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::y0 {}
protected

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