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

GrFIRfilterFFF Class Reference

FIR filter with float input, float output and float taps. More...

#include <GrFIRfilterFFF.h>

Inheritance diagram for GrFIRfilterFFF:

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

Public Member Functions

 GrFIRfilterFFF (int decimation_factor, const std::vector< float > &taps)
 GrFIRfilterFFF (int decimation_factor, gr_fir_builderF *builder)
virtual ~GrFIRfilterFFF ()
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< float > &taps)

Protected Attributes

gr_fir_builderFd_builder
gr_fir_FFFd_fir
std::vector< float > d_new_taps
int d_updated

Detailed Description

FIR filter with float input, float output and float taps.


Constructor & Destructor Documentation

GrFIRfilterFFF::GrFIRfilterFFF int  decimation_factor,
const std::vector< float > &  taps
 

Construct a FIR filter with the given taps

GrFIRfilterFFF::GrFIRfilterFFF int  decimation_factor,
gr_fir_builderF builder
 

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

GrFIRfilterFFF becomes responsible for life time management of builder.

GrFIRfilterFFF::~GrFIRfilterFFF  )  [virtual]
 


Member Function Documentation

void GrFIRfilterFFF::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

void GrFIRfilterFFF::setTaps const std::vector< float > &  taps  ) 
 

int GrFIRfilterFFF::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_builderF* GrFIRfilterFFF::d_builder [protected]
 

gr_fir_FFF* GrFIRfilterFFF::d_fir [protected]
 

std::vector<float> GrFIRfilterFFF::d_new_taps [protected]
 

int GrFIRfilterFFF::d_updated [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Mar 15 23:55:36 2005 for GNU Radio by  doxygen 1.4.0