21 #include <volk/volk_alloc.hh> 22 #include <boost/thread.hpp> 48 template <
class T,
bool forward>
59 template <
class T,
bool forward>
69 template <
class T,
bool forward>
73 volk::vector<typename fft_inbuf<T, forward>::type> d_inbuf;
74 volk::vector<typename fft_outbuf<T, forward>::type> d_outbuf;
78 void initialize_plan(
int fft_size);
81 fft(
int fft_size,
int nthreads = 1);
84 fft& operator=(
const fft&) =
delete;
101 void set_nthreads(
int n);
fft_outbuf< T, forward >::type * get_outbuf()
Definition: fft.h:93
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:38
#define FFT_API
Definition: gr-fft/include/gnuradio/fft/api.h:18
int inbuf_length() const
Definition: fft.h:95
gr_complex type
Definition: fft.h:66
int outbuf_length() const
Definition: fft.h:96
std::complex< float > gr_complex
Definition: gr_complex.h:15
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
int nthreads() const
Definition: fft.h:106
T type
Definition: fft.h:61
Export reference to planner mutex for those apps that want to use FFTW w/o using the fft_impl_fftw* c...
Definition: fft.h:31
boost::mutex::scoped_lock scoped_lock
Definition: fft.h:34
FFT: templated.
Definition: fft.h:49
T type
Definition: fft.h:50
log4cpp::Category * logger_ptr
GR_LOG macrosThese macros wrap the standard LOG4CPP_LEVEL macros. The availablie macros are: LOG_DEBU...
Definition: logger.h:60
boost::mutex mutex
Definition: thread.h:37
fft_inbuf< T, forward >::type * get_inbuf()
Definition: fft.h:92
gr_complex type
Definition: fft.h:55