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

GrFIRfilterCCC Class Reference

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

#include <GrFIRfilterCCC.h>

Inheritance diagram for GrFIRfilterCCC:

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

Public Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

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

Construct a FIR filter with the given taps

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

GrFIRfilterCCC becomes responsible for life time management of builder.

GrFIRfilterCCC::~GrFIRfilterCCC  )  [virtual]
 


Member Function Documentation

void GrFIRfilterCCC::initialize  )  [virtual]
 

Initialize any local state that is dependent on sampling frequency.

Reimplemented from VrSigProc.

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

default name for a module (override with actual name)

Reimplemented from VrSigProc.

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

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

gr_fir_CCC* GrFIRfilterCCC::d_fir [protected]
 

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

int GrFIRfilterCCC::d_updated [protected]
 


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