Adding Doxygen comments to new FFT filter blocks.
authorTom Rondeau <trondeau@vt.edu>
Sun, 28 Feb 2010 23:39:59 +0000 (18:39 -0500)
committerTom Rondeau <trondeau@vt.edu>
Sun, 28 Feb 2010 23:39:59 +0000 (18:39 -0500)
gnuradio-core/src/lib/filter/gri_fft_filter_ccc.h
gnuradio-core/src/lib/filter/gri_fft_filter_fff.h

index a65a3b0e62a705fea0e72c91c516e989b39cf922..a857e5ab13dba645b1e0bdcea936111812edff96 100644 (file)
 
 class gri_fft_complex;
 
+/*!
+ * \brief Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps
+ * \ingroup filter_blk
+ */
 class gri_fft_filter_ccc
 {
  private:
@@ -45,11 +49,32 @@ class gri_fft_filter_ccc
   int tailsize() const { return d_ntaps - 1; }
   
  public:
+  /*!
+   * \brief Construct an FFT filter for complex vectors with the given taps and decimation rate.
+   *
+   * This is the basic implementation for performing FFT filter for fast convolution
+   * in other blocks for complex vectors (such as gr_fft_filter_ccc).
+   * \param decimation The decimation rate of the filter (int)
+   * \param taps       The filter taps (complex)
+   */
   gri_fft_filter_ccc (int decimation, const std::vector<gr_complex> &taps);
   ~gri_fft_filter_ccc ();
 
+  /*!
+   * \brief Set new taps for the filter.
+   *
+   * Sets new taps and resets the class properties to handle different sizes
+   * \param taps       The filter taps (complex)
+   */
   int set_taps (const std::vector<gr_complex> &taps);
   
+  /*!
+   * \brief Perform the filter operation
+   *
+   * \param nitems  The number of items to produce
+   * \param input   The input vector to be filtered
+   * \param output  The result of the filter operation
+   */
   int filter (int nitems, const gr_complex *input, gr_complex *output);
 
 };
index 35a2d2310efe40ab47e07572abeaf722e8403d7f..2f6b7e45a1c0272a53b0390470765048fcb036a3 100644 (file)
@@ -46,11 +46,32 @@ class gri_fft_filter_fff
   int tailsize() const { return d_ntaps - 1; }
   
  public:
+  /*!
+   * \brief Construct a FFT filter for float vectors with the given taps and decimation rate.
+   *
+   * This is the basic implementation for performing FFT filter for fast convolution
+   * in other blocks for floating point vectors (such as gr_fft_filter_fff).
+   * \param decimation The decimation rate of the filter (int)
+   * \param taps       The filter taps (float)
+   */
   gri_fft_filter_fff (int decimation, const std::vector<float> &taps);
   ~gri_fft_filter_fff ();
 
+  /*!
+   * \brief Set new taps for the filter.
+   *
+   * Sets new taps and resets the class properties to handle different sizes
+   * \param taps       The filter taps (float)
+   */
   int set_taps (const std::vector<float> &taps);
   
+  /*!
+   * \brief Perform the filter operation
+   *
+   * \param nitems  The number of items to produce
+   * \param input   The input vector to be filtered
+   * \param output  The result of the filter operation
+   */
   int filter (int nitems, const float *input, float *output);
 
 };