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

GrFIRfilterCCF Class Reference

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

#include <GrFIRfilterCCF.h>

Inheritance diagram for GrFIRfilterCCF:

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

Public Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

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

Construct a FIR filter with the given taps

GrFIRfilterCCF::GrFIRfilterCCF 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)

GrFIRfilterCCF becomes responsible for life time management of builder.

GrFIRfilterCCF::~GrFIRfilterCCF  )  [virtual]
 


Member Function Documentation

void GrFIRfilterCCF::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

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

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

gr_fir_CCF* GrFIRfilterCCF::d_fir [protected]
 

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

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