GNU Radio 3.7.2git-29-g7516b6dd C++ API
gr::fft::fft_vcc_fftw Class Reference

#include <fft_vcc_fftw.h>

Inheritance diagram for gr::fft::fft_vcc_fftw:
gr::fft::fft_vcc gr::sync_block gr::block gr::basic_block gr::msg_accepter gr::messages::msg_accepter

Public Member Functions

 fft_vcc_fftw (int fft_size, bool forward, const std::vector< float > &window, bool shift, int nthreads=1)
 ~fft_vcc_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_vcc
typedef boost::shared_ptr
< fft_vcc
sptr
- Static Public Member Functions inherited from gr::fft::fft_vcc
static sptr make (int fft_size, bool forward, const std::vector< float > &window, bool shift=false, 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_vcc_fftw::fft_vcc_fftw ( int  fft_size,
bool  forward,
const std::vector< float > &  window,
bool  shift,
int  nthreads = 1 
)
gr::fft::fft_vcc_fftw::~fft_vcc_fftw ( )

Member Function Documentation

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

Implements gr::fft::fft_vcc.

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

Implements gr::fft::fft_vcc.

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

Implements gr::fft::fft_vcc.

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


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