X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgri_fft.h;h=9ffcc5a50815d60c4d424c4e0a3e08d74e688afb;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=267aa7c648b1b4285e5ef0574c959108095ce522;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/general/gri_fft.h b/gnuradio-core/src/lib/general/gri_fft.h index 267aa7c6..9ffcc5a5 100644 --- a/gnuradio-core/src/lib/general/gri_fft.h +++ b/gnuradio-core/src/lib/general/gri_fft.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2003 Free Software Foundation, Inc. + * Copyright 2003,2008 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -27,11 +27,25 @@ */ #include +#include /*! - * \brief FFT: complex in, complex out + * \brief Export reference to planner mutex for those apps that + * want to use FFTW w/o using the gri_fftw* classes. */ +class gri_fft_planner { +public: + typedef boost::mutex::scoped_lock scoped_lock; + /*! + * Return reference to planner mutex + */ + static boost::mutex &mutex(); +}; +/*! + * \brief FFT: complex in, complex out + * \ingroup misc + */ class gri_fft_complex { int d_fft_size; gr_complex *d_inbuf; @@ -61,6 +75,7 @@ public: /*! * \brief FFT: real in, complex out + * \ingroup misc */ class gri_fft_real_fwd { int d_fft_size; @@ -91,6 +106,7 @@ public: /*! * \brief FFT: complex in, float out + * \ingroup misc */ class gri_fft_real_rev { int d_fft_size;