#include <FastRunningMedian.h>
Public Member Functions | |
void | addValue (T new_value) |
FastRunningMedian () | |
T | getMedian () |
Private Attributes | |
uint8_t | _buffer_ptr |
T | _inbuffer [N] |
uint8_t | _median_ptr |
T | _sortbuffer [N] |
uint8_t | _window_size |
Definition at line 28 of file FastRunningMedian.h.
FastRunningMedian< T, N, default_value >::FastRunningMedian | ( | ) | [inline] |
Definition at line 31 of file FastRunningMedian.h.
void FastRunningMedian< T, N, default_value >::addValue | ( | T | new_value | ) | [inline] |
Definition at line 51 of file FastRunningMedian.h.
T FastRunningMedian< T, N, default_value >::getMedian | ( | ) | [inline] |
Definition at line 45 of file FastRunningMedian.h.
uint8_t FastRunningMedian< T, N, default_value >::_buffer_ptr [private] |
Definition at line 106 of file FastRunningMedian.h.
T FastRunningMedian< T, N, default_value >::_inbuffer[N] [private] |
Definition at line 113 of file FastRunningMedian.h.
uint8_t FastRunningMedian< T, N, default_value >::_median_ptr [private] |
Definition at line 110 of file FastRunningMedian.h.
T FastRunningMedian< T, N, default_value >::_sortbuffer[N] [private] |
Definition at line 115 of file FastRunningMedian.h.
uint8_t FastRunningMedian< T, N, default_value >::_window_size [private] |
Definition at line 108 of file FastRunningMedian.h.