GNU Radio 3.5.3.2 C++ API
gr_adaptive_fir_ccf Class Reference

Adaptive FIR filter with gr_complex input, gr_complex output and float taps. More...

#include <gr_adaptive_fir_ccf.h>

Inheritance diagram for gr_adaptive_fir_ccf:

List of all members.

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

Detailed Description

Adaptive FIR filter with gr_complex input, gr_complex output and float taps.


Constructor & Destructor Documentation

gr_adaptive_fir_ccf::gr_adaptive_fir_ccf ( const char *  name,
int  decimation,
const std::vector< float > &  taps 
) [protected]

Member Function Documentation

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.


Member Data Documentation

float gr_adaptive_fir_ccf::d_error [protected]

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