vmmlib  1.12.0
Templatized C++ vector and matrix math library
vmml::LowpassFilter< M, T > Class Template Reference
+ Collaboration diagram for vmml::LowpassFilter< M, T >:

Public Member Functions

 LowpassFilter (const float F)
 Construct a new lowpass filter with the given smoothing. More...
 
const T & get () const
 
const T * operator-> () const
 Access the filtered value. More...
 
const T & operator* () const
 Access the filtered value. More...
 
const T & add (const T &value)
 Add a value to the data set and return the filtered output.
 

Detailed Description

template<size_t M, typename T>
class vmml::LowpassFilter< M, T >

Definition at line 46 of file lowpassFilter.hpp.

Constructor & Destructor Documentation

template<size_t M, typename T >
vmml::LowpassFilter< M, T >::LowpassFilter ( const float  F)
inline

Construct a new lowpass filter with the given smoothing.

Definition at line 50 of file lowpassFilter.hpp.

Member Function Documentation

template<size_t M, typename T >
const T& vmml::LowpassFilter< M, T >::get ( ) const
inline
Returns
The current filtered output value

Definition at line 54 of file lowpassFilter.hpp.

template<size_t M, typename T >
const T& vmml::LowpassFilter< M, T >::operator* ( ) const
inline

Access the filtered value.

Definition at line 60 of file lowpassFilter.hpp.

References vmml::LowpassFilter< M, T >::add().

+ Here is the call graph for this function:

template<size_t M, typename T >
const T* vmml::LowpassFilter< M, T >::operator-> ( ) const
inline

Access the filtered value.

Definition at line 57 of file lowpassFilter.hpp.


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