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

GrFIRfilterSIS Class Reference

FIR filter with short input, int output and short taps. More...

#include <GrFIRfilterSIS.h>

Inheritance diagram for GrFIRfilterSIS:

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

Public Member Functions

 GrFIRfilterSIS (int decimation_factor, const std::vector< short > &taps)
 GrFIRfilterSIS (int decimation_factor, gr_fir_builderS *builder)
virtual ~GrFIRfilterSIS ()
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#].
void setTaps (const std::vector< short > &taps)

Protected Attributes

gr_fir_builderSd_builder
gr_fir_SISd_fir
std::vector< short > d_new_taps
int d_updated

Detailed Description

FIR filter with short input, int output and short taps.


Constructor & Destructor Documentation

GrFIRfilterSIS::GrFIRfilterSIS int  decimation_factor,
const std::vector< short > &  taps
 

Construct a FIR filter with the given taps

GrFIRfilterSIS::GrFIRfilterSIS int  decimation_factor,
gr_fir_builderS builder
 

Construct a FIR filter where the taps will be determined at initialization time by invoking builder->taps (sampling_freq)

GrFIRfilterSIS becomes responsible for life time management of builder.

GrFIRfilterSIS::~GrFIRfilterSIS  )  [virtual]
 


Member Function Documentation

void GrFIRfilterSIS::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

virtual const char* GrFIRfilterSIS::name  )  [inline, virtual]
 

default name for a module (override with actual name)

Reimplemented from VrSigProc.

void GrFIRfilterSIS::setTaps const std::vector< short > &  taps  ) 
 

int GrFIRfilterSIS::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

gr_fir_builderS* GrFIRfilterSIS::d_builder [protected]
 

gr_fir_SIS* GrFIRfilterSIS::d_fir [protected]
 

std::vector<short> GrFIRfilterSIS::d_new_taps [protected]
 

int GrFIRfilterSIS::d_updated [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 23 12:30:36 2005 for GNU Radio by  doxygen 1.4.0