Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GrIIRfilter< iType, oType, taptype > Class Template Reference

IIR filter. More...

#include <GrIIRfilter.h>

Inheritance diagram for GrIIRfilter< iType, oType, taptype >:

VrDecimatingSigProc< iType, oType > VrHistoryProc< iType, oType > VrSigProc List of all members.

Public Member Functions

 GrIIRfilter (int decimation_factor, const vector< taptype > intaps, const vector< taptype > outtaps)
virtual const char * name ()
 default name for a module (override with actual name)
virtual void initialize ()
 Initialize any local state that is dependent on sampling frequency.
virtual int work (VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[])
 Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Protected Attributes

gr_iir< oType, iType, taptype > _iir

Detailed Description

template<class iType, class oType, class taptype>
class GrIIRfilter< iType, oType, taptype >

IIR filter.

Uses a single input array to produce a single output array. Additional inputs and/or outputs are ignored.


Constructor & Destructor Documentation

template<class iType, class oType, class taptype>
GrIIRfilter< iType, oType, taptype >::GrIIRfilter int  decimation_factor,
const vector< taptype >  intaps,
const vector< taptype >  outtaps
 

Construct an IIR filter with the given taps


Member Function Documentation

template<class iType, class oType, class taptype>
void GrIIRfilter< iType, oType, taptype >::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

template<class iType, class oType, class taptype>
virtual const char* GrIIRfilter< iType, oType, taptype >::name  )  [inline, virtual]
 

default name for a module (override with actual name)

Reimplemented from VrSigProc.

template<class iType, class oType, class taptype>
int GrIIRfilter< iType, oType, taptype >::work VrSampleRange  output,
void *  o[],
VrSampleRange  inputs[],
void *  i[]
[virtual]
 

Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again.

Implements VrSigProc.


Member Data Documentation

template<class iType, class oType, class taptype>
gr_iir<oType,iType,taptype> GrIIRfilter< iType, oType, taptype >::_iir [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Mar 15 23:46:37 2005 for GNU Radio by  doxygen 1.4.0