GNU Radio 3.6.5 C++ API
|
Adaptive FIR filter with gr_complex input, gr_complex output and float taps. More...
#include <gr_adaptive_fir_ccf.h>
Public Member Functions | |
void | set_taps (const std::vector< float > &taps) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you | |
Protected Member Functions | |
virtual float | error (const gr_complex &out)=0 |
virtual void | update_tap (float &tap, const gr_complex &in)=0 |
gr_adaptive_fir_ccf (const char *name, int decimation, const std::vector< float > &taps) | |
Protected Attributes | |
float | d_error |
std::vector< float > | d_taps |
Adaptive FIR filter with gr_complex input, gr_complex output and float taps.
gr_adaptive_fir_ccf::gr_adaptive_fir_ccf | ( | const char * | name, |
int | decimation, | ||
const std::vector< float > & | taps | ||
) | [protected] |
virtual float gr_adaptive_fir_ccf::error | ( | const gr_complex & | out | ) | [protected, pure virtual] |
void gr_adaptive_fir_ccf::set_taps | ( | const std::vector< float > & | taps | ) |
virtual void gr_adaptive_fir_ccf::update_tap | ( | float & | tap, |
const gr_complex & | in | ||
) | [protected, pure virtual] |
int gr_adaptive_fir_ccf::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.
float gr_adaptive_fir_ccf::d_error [protected] |
std::vector<float> gr_adaptive_fir_ccf::d_taps [protected] |