GNU Radio 3.6.1 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 gruel::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)
 Compute forward or reverse FFT. complex vector in / complex vector out.
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr_sync_block
 gr_sync_block (void)
 gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
- Protected Attributes inherited from gr_basic_block
std::string d_name
gr_io_signature_sptr d_input_signature
gr_io_signature_sptr d_output_signature
long d_unique_id
vcolor d_color

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: