library of assembled shared sources

http://lass.cocamware.com

lass::num::FirFilter< T, InputIterator, OutputIterator > Class Template Reference
[Filters]

Finite Impulse Response filter. More...

#include <filters.h>

Inheritance diagram for lass::num::FirFilter< T, InputIterator, OutputIterator >:

Inheritance graph
[legend]
Collaboration diagram for lass::num::FirFilter< T, InputIterator, OutputIterator >:

Collaboration graph
[legend]

Public Types

typedef Filter< T,
InputIterator, OutputIterator >
::TValue 
TValue
typedef Filter< T,
InputIterator, OutputIterator >
::TParam 
TParam
typedef Filter< T,
InputIterator, OutputIterator >
::TReference 
TReference
typedef Filter< T,
InputIterator, OutputIterator >
::TConstReference 
TConstReference
typedef Filter< T,
InputIterator, OutputIterator >
::TInputIterator 
TInputIterator
typedef Filter< T,
InputIterator, OutputIterator >
::TOutputIterator 
TOutputIterator
typedef Filter< T,
InputIterator, OutputIterator >
::TNumTraits 
TNumTraits
typedef std::vector< T > TValues

Public Member Functions

 FirFilter (const TValues &impulseResponse)
TOutputIterator operator() (TInputIterator first, TInputIterator last, TOutputIterator output)
void reset ()

Private Types

typedef std::vector< size_t > TIndexTable

Private Member Functions

TOutputIterator doFilter (TInputIterator first, TInputIterator last, TOutputIterator output)
void doReset ()

Private Attributes

TValues taps_
TValues buffer_
TIndexTable nextIndex_
size_t tapSize_
size_t bufferIndex_

Detailed Description

template<typename T, typename InputIterator = const T*, typename OutputIterator = T*>
class lass::num::FirFilter< T, InputIterator, OutputIterator >

Finite Impulse Response filter.

Definition at line 81 of file filters.h.


Member Typedef Documentation

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TValue lass::num::FirFilter< T, InputIterator, OutputIterator >::TValue

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 84 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TParam lass::num::FirFilter< T, InputIterator, OutputIterator >::TParam

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 85 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TReference lass::num::FirFilter< T, InputIterator, OutputIterator >::TReference

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 86 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TConstReference lass::num::FirFilter< T, InputIterator, OutputIterator >::TConstReference

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 87 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TInputIterator lass::num::FirFilter< T, InputIterator, OutputIterator >::TInputIterator

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 88 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TOutputIterator lass::num::FirFilter< T, InputIterator, OutputIterator >::TOutputIterator

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 89 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef Filter<T, InputIterator, OutputIterator>::TNumTraits lass::num::FirFilter< T, InputIterator, OutputIterator >::TNumTraits

Reimplemented from lass::num::Filter< T, InputIterator, OutputIterator >.

Definition at line 90 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef std::vector<T> lass::num::FirFilter< T, InputIterator, OutputIterator >::TValues

Definition at line 92 of file filters.h.

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
typedef std::vector<size_t> lass::num::FirFilter< T, InputIterator, OutputIterator >::TIndexTable [private]

Definition at line 96 of file filters.h.


Constructor & Destructor Documentation

template<typename T , typename InIt , typename OutIt >
lass::num::FirFilter< T, InIt, OutIt >::FirFilter ( const TValues impulseResponse  )  [inline]


Member Function Documentation

template<typename T , typename InIt , typename OutIt >
FirFilter< T, InIt, OutIt >::TOutputIterator lass::num::FirFilter< T, InIt, OutIt >::doFilter ( TInputIterator  first,
TInputIterator  last,
TOutputIterator  output 
) [inline, private]

template<typename T , typename InIt , typename OutIt >
void lass::num::FirFilter< T, InIt, OutIt >::doReset (  )  [inline, private, virtual]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
TOutputIterator lass::num::Filter< T, InputIterator, OutputIterator >::operator() ( TInputIterator  first,
TInputIterator  last,
TOutputIterator  output 
) [inline, inherited]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
void lass::num::Filter< T, InputIterator, OutputIterator >::reset (  )  [inline, inherited]


Field Documentation

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
TValues lass::num::FirFilter< T, InputIterator, OutputIterator >::taps_ [private]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
TValues lass::num::FirFilter< T, InputIterator, OutputIterator >::buffer_ [private]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
TIndexTable lass::num::FirFilter< T, InputIterator, OutputIterator >::nextIndex_ [private]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
size_t lass::num::FirFilter< T, InputIterator, OutputIterator >::tapSize_ [private]

template<typename T , typename InputIterator = const T*, typename OutputIterator = T*>
size_t lass::num::FirFilter< T, InputIterator, OutputIterator >::bufferIndex_ [private]


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

Generated on Mon Nov 10 14:22:10 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo