GNU Radio 3.6.5 C++ API

gri_fft_complex Class Reference

FFT: complex in, complex out. More...

#include <gri_fft.h>

List of all members.

Public Member Functions

 gri_fft_complex (int fft_size, bool forward=true, int nthreads=1)
virtual ~gri_fft_complex ()
gr_complexget_inbuf () const
gr_complexget_outbuf () const
int inbuf_length () const
int outbuf_length () const
void set_nthreads (int n)
int nthreads () const
void execute ()

Detailed Description

FFT: complex in, complex out.

Constructor & Destructor Documentation

gri_fft_complex::gri_fft_complex ( int  fft_size,
bool  forward = true,
int  nthreads = 1 
virtual gri_fft_complex::~gri_fft_complex ( ) [virtual]

Member Function Documentation

void gri_fft_complex::execute ( )

compute FFT. The input comes from inbuf, the output is placed in outbuf.

gr_complex* gri_fft_complex::get_inbuf ( ) const [inline]
gr_complex* gri_fft_complex::get_outbuf ( ) const [inline]
int gri_fft_complex::inbuf_length ( ) const [inline]
int gri_fft_complex::nthreads ( ) const [inline]

Get the number of threads being used by FFTW

int gri_fft_complex::outbuf_length ( ) const [inline]
void gri_fft_complex::set_nthreads ( int  n)

Set the number of threads to use for caclulation.

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