Public Member Functions | Private Attributes
FastRunningMedian< T, N, default_value > Class Template Reference

#include <FastRunningMedian.h>

List of all members.

Public Member Functions

void addValue (T new_value)
 FastRunningMedian ()
getMedian ()

Private Attributes

uint8_t _buffer_ptr
_inbuffer [N]
uint8_t _median_ptr
_sortbuffer [N]
uint8_t _window_size

Detailed Description

template<typename T, uint8_t N, T default_value>
class FastRunningMedian< T, N, default_value >

Definition at line 28 of file FastRunningMedian.h.


Constructor & Destructor Documentation

template<typename T , uint8_t N, T default_value>
FastRunningMedian< T, N, default_value >::FastRunningMedian ( ) [inline]

Definition at line 31 of file FastRunningMedian.h.


Member Function Documentation

template<typename T , uint8_t N, T default_value>
void FastRunningMedian< T, N, default_value >::addValue ( new_value) [inline]

Definition at line 51 of file FastRunningMedian.h.

template<typename T , uint8_t N, T default_value>
T FastRunningMedian< T, N, default_value >::getMedian ( ) [inline]

Definition at line 45 of file FastRunningMedian.h.


Member Data Documentation

template<typename T , uint8_t N, T default_value>
uint8_t FastRunningMedian< T, N, default_value >::_buffer_ptr [private]

Definition at line 106 of file FastRunningMedian.h.

template<typename T , uint8_t N, T default_value>
T FastRunningMedian< T, N, default_value >::_inbuffer[N] [private]

Definition at line 113 of file FastRunningMedian.h.

template<typename T , uint8_t N, T default_value>
uint8_t FastRunningMedian< T, N, default_value >::_median_ptr [private]

Definition at line 110 of file FastRunningMedian.h.

template<typename T , uint8_t N, T default_value>
T FastRunningMedian< T, N, default_value >::_sortbuffer[N] [private]

Definition at line 115 of file FastRunningMedian.h.

template<typename T , uint8_t N, T default_value>
uint8_t FastRunningMedian< T, N, default_value >::_window_size [private]

Definition at line 108 of file FastRunningMedian.h.


The documentation for this class was generated from the following file:


ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:57