GNU Radio C++ API
gr_fir_fcc_generic Class Reference

Concrete class for generic implementation of FIR with float input, gr_complex output and gr_complex taps. More...

#include <gr_fir_fcc_generic.h>

Inheritance diagram for gr_fir_fcc_generic:

Public Member Functions

 gr_fir_fcc_generic ()
 
 gr_fir_fcc_generic (const std::vector< gr_complex > &taps)
 
virtual gr_complex filter (const float input[])
 compute a single output value. More...
 
virtual void filterN (gr_complex output[], const float input[], unsigned long n)
 compute an array of N output values. More...
 
virtual void filterNdec (gr_complex output[], const float input[], unsigned long n, unsigned decimate)
 compute an array of N output values, decimating the input More...
 
- Public Member Functions inherited from gr_fir_fcc
 gr_fir_fcc ()
 construct new FIR with given taps. More...
 
 gr_fir_fcc (const std::vector< gr_complex > &taps)
 
virtual ~gr_fir_fcc ()
 
virtual void set_taps (const std::vector< gr_complex > &taps)
 install new_taps as the current taps. More...
 
unsigned ntaps () const
 
virtual const std::vector
< gr_complex
get_taps () const
 

Additional Inherited Members

- Protected Attributes inherited from gr_fir_fcc
std::vector< gr_complexd_taps
 

Detailed Description

Concrete class for generic implementation of FIR with float input, gr_complex output and gr_complex taps.

The trailing suffix has the form _IOT where I codes the input type, O codes the output type, and T codes the tap type. I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int)

Constructor & Destructor Documentation

gr_fir_fcc_generic::gr_fir_fcc_generic ( )
inline
gr_fir_fcc_generic::gr_fir_fcc_generic ( const std::vector< gr_complex > &  taps)
inline

Member Function Documentation

virtual gr_complex gr_fir_fcc_generic::filter ( const float  input[])
virtual

compute a single output value.

input must have ntaps() valid entries. input[0] .. input[ntaps() - 1] are referenced to compute the output value.

Returns
the filtered input value.

Implements gr_fir_fcc.

Reimplemented in gr_fir_fcc_simd.

virtual void gr_fir_fcc_generic::filterN ( gr_complex  output[],
const float  input[],
unsigned long  n 
)
virtual

compute an array of N output values.

input must have (n - 1 + ntaps()) valid entries. input[0] .. input[n - 1 + ntaps() - 1] are referenced to compute the output values.

Implements gr_fir_fcc.

virtual void gr_fir_fcc_generic::filterNdec ( gr_complex  output[],
const float  input[],
unsigned long  n,
unsigned  decimate 
)
virtual

compute an array of N output values, decimating the input

input must have (decimate * (n - 1) + ntaps()) valid entries. input[0] .. input[decimate * (n - 1) + ntaps() - 1] are referenced to compute the output values.

Implements gr_fir_fcc.


The documentation for this class was generated from the following file: