MovingWindowFilter< T > Class Template Reference

Base class for MovingWindowFilter. More...

#include <common/common.hh>

Public Member Functions

 MovingWindowFilter ()
 Constructor.
 
virtual ~MovingWindowFilter ()
 Destructor.
 
T Get ()
 Get filtered result.
 
bool GetWindowFilled () const
 Get whether the window has been filled.
 
unsigned int GetWindowSize () const
 Get the window size.
 
void SetWindowSize (unsigned int _n)
 Set window size.
 
void Update (T _val)
 Update value of filter.
 

Protected Member Functions

 MovingWindowFilter (MovingWindowFilterPrivate< T > &_d)
 Allow subclasses to initialize their own data pointer.
 

Protected Attributes

MovingWindowFilterPrivate< T > * dataPtr
 Data pointer.
 

Detailed Description

template<typename T>
class gazebo::common::MovingWindowFilter< T >

Base class for MovingWindowFilter.

Constructor & Destructor Documentation

◆ MovingWindowFilter()

template<typename T >
MovingWindowFilter ( MovingWindowFilterPrivate< T > &  _d)
explicitprotected

Allow subclasses to initialize their own data pointer.

Parameters
[in]_dReference to data pointer.

Member Data Documentation

◆ dataPtr

template<typename T >
MovingWindowFilterPrivate<T>* dataPtr
protected

Data pointer.


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