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

GrFIRfilterSCC Class Reference

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

#include <GrFIRfilterSCC.h>

Inheritance diagram for GrFIRfilterSCC:

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

Public Member Functions

 GrFIRfilterSCC (int decimation_factor, const std::vector< VrComplex > &taps)
 GrFIRfilterSCC (int decimation_factor, gr_fir_builderC *builder)
virtual ~GrFIRfilterSCC ()
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< VrComplex > &taps)

Protected Attributes

gr_fir_builderCd_builder
gr_fir_SCCd_fir
std::vector< VrComplexd_new_taps
int d_updated

Detailed Description

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


Constructor & Destructor Documentation

GrFIRfilterSCC::GrFIRfilterSCC int  decimation_factor,
const std::vector< VrComplex > &  taps
 

Construct a FIR filter with the given taps

GrFIRfilterSCC::GrFIRfilterSCC int  decimation_factor,
gr_fir_builderC builder
 

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

GrFIRfilterSCC becomes responsible for life time management of builder.

GrFIRfilterSCC::~GrFIRfilterSCC  )  [virtual]
 


Member Function Documentation

void GrFIRfilterSCC::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

void GrFIRfilterSCC::setTaps const std::vector< VrComplex > &  taps  ) 
 

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

gr_fir_SCC* GrFIRfilterSCC::d_fir [protected]
 

std::vector<VrComplex> GrFIRfilterSCC::d_new_taps [protected]
 

int GrFIRfilterSCC::d_updated [protected]
 


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