2 #ifndef _SMOOTHING_ALGORITHM_H_ 3 #define _SMOOTHING_ALGORITHM_H_ 10 virtual float smooth(
const float &input) = 0;
27 float smooth(
const float &input);
37 #endif // !_SMOOTHING_ALGORITHM_H_ Exp_Smooth()
Definition: exp_smooth.cpp:12
void clear()
Definition: exp_smooth.cpp:38
float last_output_
Definition: smoothing_algorithm.h:32
Definition: smoothing_algorithm.h:7
virtual float smooth(const float &input)=0
~Exp_Smooth()
Definition: smoothing_algorithm.h:23
void set_Alpha(float alpha)
Definition: smoothing_algorithm.h:25
Definition: smoothing_algorithm.h:14
Exp_Smooth & operator=(Exp_Smooth &&)=default
bool is_first_
Definition: smoothing_algorithm.h:34
float alpha_
Definition: smoothing_algorithm.h:33
float smooth(const float &input)
Definition: exp_smooth.cpp:24
virtual ~Smoothing_Algorithm()
Definition: smoothing_algorithm.h:11