GNU Radio 3.5.3.2 C++ API
gr_adaptive_fir_ccc Class Reference

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

#include <gr_adaptive_fir_ccc.h>

Inheritance diagram for gr_adaptive_fir_ccc:

List of all members.

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_complexd_taps

Detailed Description

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


Constructor & Destructor Documentation

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

Member Function Documentation

virtual gr_complex gr_adaptive_fir_ccc::error ( const gr_complex out) [protected, pure virtual]
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]
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.


Member Data Documentation


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