summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/rms_cf_impl.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-blocks/lib/rms_cf_impl.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-blocks/lib/rms_cf_impl.h')
-rw-r--r--gr-blocks/lib/rms_cf_impl.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/gr-blocks/lib/rms_cf_impl.h b/gr-blocks/lib/rms_cf_impl.h
index 75bc8f3524..84663cb121 100644
--- a/gr-blocks/lib/rms_cf_impl.h
+++ b/gr-blocks/lib/rms_cf_impl.h
@@ -26,30 +26,29 @@
#include <gnuradio/blocks/rms_cf.h>
namespace gr {
- namespace blocks {
+namespace blocks {
- /*!
- * \brief RMS average power
- * \ingroup math_blk
- */
- class rms_cf_impl : public rms_cf
- {
- private:
- double d_alpha, d_beta, d_avg;
-
- public:
- rms_cf_impl(double alpha = 0.0001);
- ~rms_cf_impl();
+/*!
+ * \brief RMS average power
+ * \ingroup math_blk
+ */
+class rms_cf_impl : public rms_cf
+{
+private:
+ double d_alpha, d_beta, d_avg;
- void set_alpha(double alpha);
+public:
+ rms_cf_impl(double alpha = 0.0001);
+ ~rms_cf_impl();
- int work(int noutput_items,
- gr_vector_const_void_star &input_items,
- gr_vector_void_star &output_items);
+ void set_alpha(double alpha);
- };
+ int work(int noutput_items,
+ gr_vector_const_void_star& input_items,
+ gr_vector_void_star& output_items);
+};
- } /* namespace blocks */
+} /* namespace blocks */
} /* namespace gr */
#endif /* INCLUDED_BLOCKS_RMS_CF_IMPL_H */