GNU Radio Manual and C++ API Reference  3.7.5
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gr::fft::fft_vfc_fftw Class Reference

#include </build/gnuradio-O4UjFN/gnuradio-3.7.5/gr-fft/lib/fft_vfc_fftw.h>

Public Member Functions

 fft_vfc_fftw (int fft_size, bool forward, const std::vector< float > &window, int nthreads=1)
 ~fft_vfc_fftw ()
void set_nthreads (int n)
int nthreads () const
bool set_window (const std::vector< float > &window)
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::fft::fft_vfc
typedef boost::shared_ptr
< fft_vfc
sptr
- Static Public Member Functions inherited from gr::fft::fft_vfc
static sptr make (int fft_size, bool forward, const std::vector< float > &window, int nthreads=1)
- Protected Types inherited from gr::basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr::sync_block
 sync_block (void)
 sync_block (const std::string &name, gr::io_signature::sptr input_signature, gr::io_signature::sptr output_signature)
- Protected Attributes inherited from gr::block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer
gr::thread::mutex d_setlock
gr::logger_ptr d_logger
gr::logger_ptr d_debug_logger

Constructor & Destructor Documentation

gr::fft::fft_vfc_fftw::fft_vfc_fftw ( int  fft_size,
bool  forward,
const std::vector< float > &  window,
int  nthreads = 1 
)
gr::fft::fft_vfc_fftw::~fft_vfc_fftw ( )

Member Function Documentation

int gr::fft::fft_vfc_fftw::nthreads ( ) const
virtual

Implements gr::fft::fft_vfc.

void gr::fft::fft_vfc_fftw::set_nthreads ( int  n)
virtual

Implements gr::fft::fft_vfc.

bool gr::fft::fft_vfc_fftw::set_window ( const std::vector< float > &  window)
virtual

Implements gr::fft::fft_vfc.

int gr::fft::fft_vfc_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.


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