GNU Radio 3.5.1 C++ API
|
Adaptive FIR filter with gr_complex input, gr_complex output and float taps. More...
#include <gr_adaptive_fir_ccc.h>
Public Member Functions | |
void | set_taps (const std::vector< gr_complex > &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 gr_complex | error (const gr_complex &out)=0 |
virtual void | update_tap (gr_complex &tap, const gr_complex &in)=0 |
gr_complex | filter (gr_complex *x) |
gr_adaptive_fir_ccc (const char *name, int decimation, const std::vector< gr_complex > &taps) | |
Protected Attributes | |
gr_complex | d_error |
std::vector< gr_complex > | d_taps |
Adaptive FIR filter with gr_complex input, gr_complex output and float taps.
gr_adaptive_fir_ccc::gr_adaptive_fir_ccc | ( | const char * | name, |
int | decimation, | ||
const std::vector< gr_complex > & | taps | ||
) | [protected] |
virtual gr_complex gr_adaptive_fir_ccc::error | ( | const gr_complex & | out | ) | [protected, pure virtual] |
Implemented in digital_cma_equalizer_cc, digital_kurtotic_equalizer_cc, and digital_lms_dd_equalizer_cc.
Referenced by digital_lms_dd_equalizer_cc::error().
gr_complex gr_adaptive_fir_ccc::filter | ( | gr_complex * | x | ) | [protected] |
void gr_adaptive_fir_ccc::set_taps | ( | const std::vector< gr_complex > & | taps | ) |
virtual void gr_adaptive_fir_ccc::update_tap | ( | gr_complex & | tap, |
const gr_complex & | in | ||
) | [protected, pure virtual] |
Implemented in digital_cma_equalizer_cc, digital_kurtotic_equalizer_cc, and digital_lms_dd_equalizer_cc.
int gr_adaptive_fir_ccc::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.
gr_complex gr_adaptive_fir_ccc::d_error [protected] |
std::vector<gr_complex> gr_adaptive_fir_ccc::d_taps [protected] |