Cheetah Software
1.0
|
#include <filters.h>
Public Member Functions | |
moving_average_filter (int num_data) | |
virtual | ~moving_average_filter () |
virtual void | input (T input_value) |
virtual T | output (void) |
virtual void | clear (void) |
Public Member Functions inherited from filter< T > | |
filter (void) | |
virtual | ~filter (void) |
Private Attributes | |
T * | buffer_ |
int | num_data_ |
int | idx_ |
T | sum_ |
moving_average_filter< T >::moving_average_filter | ( | int | num_data | ) |
Definition at line 10 of file filters.cpp.
References moving_average_filter< T >::buffer_, and moving_average_filter< T >::num_data_.
|
virtual |
Definition at line 37 of file filters.cpp.
References moving_average_filter< T >::buffer_.
|
virtual |
Implements filter< T >.
Definition at line 31 of file filters.cpp.
References moving_average_filter< T >::buffer_, moving_average_filter< T >::num_data_, and moving_average_filter< T >::sum_.
|
virtual |
Implements filter< T >.
Definition at line 17 of file filters.cpp.
References moving_average_filter< T >::buffer_, moving_average_filter< T >::idx_, moving_average_filter< T >::num_data_, and moving_average_filter< T >::sum_.
|
virtual |
Implements filter< T >.
Definition at line 26 of file filters.cpp.
References moving_average_filter< T >::num_data_, and moving_average_filter< T >::sum_.
|
private |
|
private |
|
private |
|
private |