GNU Radio 3.6.4 C++ API
gr::filter::fft_filter_fff_impl Class Reference

#include <fft_filter_fff_impl.h>

Inheritance diagram for gr::filter::fft_filter_fff_impl:
gr::filter::fft_filter_fff gr_sync_decimator gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 fft_filter_fff_impl (int decimation, const std::vector< float > &taps, int nthreads=1)
 ~fft_filter_fff_impl ()
void set_taps (const std::vector< float > &taps)
std::vector< float > taps () const
void set_nthreads (int n)
 Set number of threads to use.
int nthreads () const
 Get number of threads being used.
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

Additional Inherited Members

- Public Types inherited from gr::filter::fft_filter_fff
typedef boost::shared_ptr
< fft_filter_fff
sptr
- Static Public Member Functions inherited from gr::filter::fft_filter_fff
static sptr make (int decimation, const std::vector< float > &taps, int nthreads=1)
 Fast FFT filter with float input, float output and float tapsThis block implements a real-value decimating filter using the fast convolution method via an FFT. The decimation factor is an interger that is greater than or equal to 1.

Constructor & Destructor Documentation

gr::filter::fft_filter_fff_impl::fft_filter_fff_impl ( int  decimation,
const std::vector< float > &  taps,
int  nthreads = 1 
)
gr::filter::fft_filter_fff_impl::~fft_filter_fff_impl ( )

Member Function Documentation

int gr::filter::fft_filter_fff_impl::nthreads ( ) const
virtual

Get number of threads being used.

Implements gr::filter::fft_filter_fff.

void gr::filter::fft_filter_fff_impl::set_nthreads ( int  n)
virtual

Set number of threads to use.

Implements gr::filter::fft_filter_fff.

void gr::filter::fft_filter_fff_impl::set_taps ( const std::vector< float > &  taps)
virtual
std::vector<float> gr::filter::fft_filter_fff_impl::taps ( ) const
virtual
int gr::filter::fft_filter_fff_impl::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.


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