Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::SensorFilterBase< T > Class Template Reference

#include "OVR_SensorFilter.h"

Inheritance diagram for OVR::SensorFilterBase< T >:
Inheritance graph
Collaboration diagram for OVR::SensorFilterBase< T >:
Collaboration graph

Public Member Functions

 SensorFilterBase (int capacity=CircularBuffer< T >::DefaultCapacity)
 
void PushBack (const T &e)
 
void PushFront (const T &e)
 
PopBack ()
 
PopFront ()
 
void Clear ()
 
Total () const
 
Mean () const
 
MeanN (int n) const
 
SavitzkyGolaySmooth4 ()
 
SavitzkyGolaySmooth8 () const
 
SavitzkyGolayDerivative4 () const
 
SavitzkyGolayDerivative5 () const
 
SavitzkyGolayDerivative12 () const
 
SavitzkyGolayDerivativeN (int n) const
 
Median () const
 
- Public Member Functions inherited from OVR::CircularBuffer< T >
 CircularBuffer (int MaxSize=Deque< T >::DefaultCapacity)
 
 CircularBuffer (UPInt size)
 
 ~CircularBuffer ()
 
bool IsEmpty () const
 
UByteWrite (UPInt size)
 
UByteReadBegin ()
 
void ReadEnd (UPInt size)
 
- Public Member Functions inherited from OVR::InPlaceMutableDeque< Elem >
 InPlaceMutableDeque (int capacity=Deque< Elem >::DefaultCapacity)
 
virtual ~InPlaceMutableDeque ()
 
virtual Elem & PeekBack (int count=0)
 
virtual Elem & PeekFront (int count=0)
 
- Public Member Functions inherited from OVR::Deque< Elem >
 Deque (int capacity=DefaultCapacity)
 
virtual ~Deque (void)
 
virtual void PushBack (const Elem &Item)
 
virtual void PushFront (const Elem &Item)
 
virtual const Elem & PeekBack (int count=0) const
 
virtual const Elem & PeekFront (int count=0) const
 
virtual UPInt GetSize (void) const
 
virtual UPInt GetCapacity (void) const
 
virtual bool IsFull () const
 

Protected Attributes

RunningTotal
 
- Protected Attributes inherited from OVR::Deque< Elem >
Elem * Data
 
const int Capacity
 
int Beginning
 
int End
 
int ElemCount
 

Additional Inherited Members

- Public Types inherited from OVR::Deque< Elem >
enum  { DefaultCapacity = 500 }
 

Detailed Description

template<typename T>
class OVR::SensorFilterBase< T >

Definition at line 41 of file OVR_SensorFilter.h.

Constructor & Destructor Documentation

template<typename T>
OVR::SensorFilterBase< T >::SensorFilterBase ( int  capacity = CircularBuffer<T>::DefaultCapacity)
inline

Definition at line 47 of file OVR_SensorFilter.h.

Member Function Documentation

template<typename T>
void OVR::SensorFilterBase< T >::Clear ( void  )
inlinevirtual

Reimplemented from OVR::Deque< Elem >.

Definition at line 94 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::Mean ( ) const
inline

Definition at line 106 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::MeanN ( int  n) const
inline

Definition at line 111 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::Median ( ) const
inline

Definition at line 197 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::PopBack ( void  )
inlinevirtual

Reimplemented from OVR::Deque< Elem >.

Definition at line 80 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::PopFront ( void  )
inlinevirtual

Reimplemented from OVR::Deque< Elem >.

Definition at line 87 of file OVR_SensorFilter.h.

template<typename T>
void OVR::SensorFilterBase< T >::PushBack ( const T &  e)
inlinevirtual

Reimplemented from OVR::CircularBuffer< T >.

Definition at line 54 of file OVR_SensorFilter.h.

template<typename T>
void OVR::SensorFilterBase< T >::PushFront ( const T &  e)
inlinevirtual

Reimplemented from OVR::CircularBuffer< T >.

Definition at line 67 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolayDerivative12 ( ) const
inline

Definition at line 164 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolayDerivative4 ( ) const
inline

Definition at line 146 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolayDerivative5 ( ) const
inline

Definition at line 155 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolayDerivativeN ( int  n) const
inline

Definition at line 181 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolaySmooth4 ( )
inline

Definition at line 125 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::SavitzkyGolaySmooth8 ( ) const
inline

Definition at line 134 of file OVR_SensorFilter.h.

template<typename T>
T OVR::SensorFilterBase< T >::Total ( ) const
inline

Definition at line 101 of file OVR_SensorFilter.h.

Field Documentation

template<typename T>
T OVR::SensorFilterBase< T >::RunningTotal
protected

Definition at line 44 of file OVR_SensorFilter.h.


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