dynamicgraph::sot::ExpMovingAvg Class Reference

#include <sot/core/exp-moving-avg.hh>

Inheritance diagram for dynamicgraph::sot::ExpMovingAvg:
[legend]

Public Member Functions

 ExpMovingAvg (const std::string &n)
 
virtual ~ExpMovingAvg (void)
 
void setAlpha (const double &alpha_)
 

Public Attributes

SignalPtr< dg::Vector, int > updateSIN
 
SignalTimeDependent< int, int > refresherSINTERN
 
SignalTimeDependent< dg::Vector, int > averageSOUT
 

Protected Member Functions

dg::Vector & update (dg::Vector &res, const int &inTime)
 

Protected Attributes

dg::Vector average
 
double alpha
 
bool init
 

Constructor & Destructor Documentation

◆ ExpMovingAvg()

dynamicgraph::sot::ExpMovingAvg::ExpMovingAvg ( const std::string &  n)

◆ ~ExpMovingAvg()

virtual dynamicgraph::sot::ExpMovingAvg::~ExpMovingAvg ( void  )
virtual

Member Function Documentation

◆ setAlpha()

void dynamicgraph::sot::ExpMovingAvg::setAlpha ( const double &  alpha_)

◆ update()

dg::Vector& dynamicgraph::sot::ExpMovingAvg::update ( dg::Vector &  res,
const int &  inTime 
)
protected

Member Data Documentation

◆ alpha

double dynamicgraph::sot::ExpMovingAvg::alpha
protected

◆ average

dg::Vector dynamicgraph::sot::ExpMovingAvg::average
protected

◆ averageSOUT

SignalTimeDependent<dg::Vector, int> dynamicgraph::sot::ExpMovingAvg::averageSOUT

◆ init

bool dynamicgraph::sot::ExpMovingAvg::init
protected

◆ refresherSINTERN

SignalTimeDependent<int, int> dynamicgraph::sot::ExpMovingAvg::refresherSINTERN

◆ updateSIN

SignalPtr<dg::Vector, int> dynamicgraph::sot::ExpMovingAvg::updateSIN