GNU Radio 3.5.3.2 C++ API
|
Compute forward or reverse FFT. complex vector in / complex vector out.Concrete class that uses FFTW. More...
#include <gr_fft_vcc_fftw.h>
Public Member Functions | |
~gr_fft_vcc_fftw () | |
void | set_nthreads (int n) |
int | nthreads () const |
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 | |
Friends | |
GR_CORE_API gr_fft_vcc_sptr | gr_make_fft_vcc_fftw (int fft_size, bool forward, const std::vector< float > &window, bool shift, int nthreads) |
Compute forward or reverse FFT. complex vector in / complex vector out.
Concrete class that uses FFTW.
gr_fft_vcc_fftw::~gr_fft_vcc_fftw | ( | ) |
int gr_fft_vcc_fftw::nthreads | ( | ) | const [virtual] |
Reimplemented from gr_fft_vcc.
void gr_fft_vcc_fftw::set_nthreads | ( | int | n | ) | [virtual] |
Reimplemented from gr_fft_vcc.
int gr_fft_vcc_fftw::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.
GR_CORE_API gr_fft_vcc_sptr gr_make_fft_vcc_fftw | ( | int | fft_size, |
bool | forward, | ||
const std::vector< float > & | window, | ||
bool | shift, | ||
int | nthreads | ||
) | [friend] |