9 #ifndef __SOT_EXPMOVINGAVG_H__
10 #define __SOT_EXPMOVINGAVG_H__
16 #include <dynamic-graph/entity.h>
17 #include <dynamic-graph/signal-ptr.h>
18 #include <dynamic-graph/signal-time-dependent.h>
29 using dynamicgraph::Entity;
30 using dynamicgraph::SignalPtr;
31 using dynamicgraph::SignalTimeDependent;
34 DYNAMIC_GRAPH_ENTITY_DECL();
48 dynamicgraph::Vector &
update(dynamicgraph::Vector &res,
const int &inTime);
Definition: exp-moving-avg.hh:33
SignalPtr< dynamicgraph::Vector, int > updateSIN
Definition: exp-moving-avg.hh:37
dynamicgraph::Vector & update(dynamicgraph::Vector &res, const int &inTime)
dynamicgraph::Vector average
Definition: exp-moving-avg.hh:50
double alpha
Definition: exp-moving-avg.hh:52
ExpMovingAvg(const std::string &n)
virtual ~ExpMovingAvg(void)
bool init
Definition: exp-moving-avg.hh:53
SignalTimeDependent< dynamicgraph::Vector, int > averageSOUT
Definition: exp-moving-avg.hh:39
void setAlpha(const double &alpha_)
SignalTimeDependent< int, int > refresherSINTERN
Definition: exp-moving-avg.hh:38
#define SOT_CORE_DLLAPI
Definition: config.hh:64
Definition: abstract-sot-external-interface.hh:17