gr_adaptive_fir_ccf Class Reference
[Filters]

#include <gr_adaptive_fir_ccf.h>

Inheritance diagram for gr_adaptive_fir_ccf:

Inheritance graph
[legend]
Collaboration diagram for gr_adaptive_fir_ccf:

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Public Member Functions

 gr_adaptive_fir_ccf (char *name, int decimation, const std::vector< float > &taps)
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

Protected Attributes

float d_error
std::vector< float > d_taps

Constructor & Destructor Documentation

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

References d_taps, and gr_block::set_history().


Member Function Documentation

virtual float gr_adaptive_fir_ccf::error ( const gr_complex out  )  [protected, pure virtual]

Implemented in gr_cma_equalizer_cc.

Referenced by work().

virtual void gr_adaptive_fir_ccf::update_tap ( float &  tap,
const gr_complex in 
) [protected, pure virtual]

Implemented in gr_cma_equalizer_cc.

Referenced by work().

void gr_adaptive_fir_ccf::set_taps ( const std::vector< float > &  taps  ) 

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.

References d_error, d_taps, gr_sync_decimator::decimation(), error(), gr_block::set_history(), and update_tap().


Member Data Documentation

float gr_adaptive_fir_ccf::d_error [protected]

Referenced by gr_adaptive_fir_ccf(), and work().


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

Generated on Thu Mar 27 14:50:07 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5