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

#include <fft_filter_ccc_impl.h>

Inheritance diagram for gr::filter::fft_filter_ccc_impl:
gr::filter::fft_filter_ccc gr_sync_decimator gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

Public Member Functions

 fft_filter_ccc_impl (int decimation, const std::vector< gr_complex > &taps, int nthreads=1)
 ~fft_filter_ccc_impl ()
void set_taps (const std::vector< gr_complex > &taps)
std::vector< gr_complextaps () 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_ccc
typedef boost::shared_ptr
< fft_filter_ccc
sptr
- Static Public Member Functions inherited from gr::filter::fft_filter_ccc
static sptr make (int decimation, const std::vector< gr_complex > &taps, int nthreads=1)
 Fast FFT filter with gr_complex input, gr_complex output and gr_complex tapsThis block implements a complex decimating filter using the fast convolution method via an FFT. The decimation factor is an interger that is greater than or equal to 1.
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr_sync_decimator
 gr_sync_decimator (void)
 gr_sync_decimator (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature, unsigned decimation)
- Protected Attributes inherited from gr_block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer
gruel::mutex d_setlock

Constructor & Destructor Documentation

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

Member Function Documentation

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

Get number of threads being used.

Implements gr::filter::fft_filter_ccc.

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

Set number of threads to use.

Implements gr::filter::fft_filter_ccc.

void gr::filter::fft_filter_ccc_impl::set_taps ( const std::vector< gr_complex > &  taps)
virtual
std::vector<gr_complex> gr::filter::fft_filter_ccc_impl::taps ( ) const
virtual
int gr::filter::fft_filter_ccc_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: