diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-blocks/lib/probe_rate_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-blocks/lib/probe_rate_impl.h')
-rw-r--r-- | gr-blocks/lib/probe_rate_impl.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/gr-blocks/lib/probe_rate_impl.h b/gr-blocks/lib/probe_rate_impl.h index 42c3b13fe2..7128981b55 100644 --- a/gr-blocks/lib/probe_rate_impl.h +++ b/gr-blocks/lib/probe_rate_impl.h @@ -26,36 +26,36 @@ #include <gnuradio/blocks/probe_rate.h> namespace gr { - namespace blocks { - - class probe_rate_impl : public probe_rate - { - private: - double d_alpha, d_beta, d_avg; - double d_min_update_time; - boost::posix_time::ptime d_last_update; - uint64_t d_lastthru; - void setup_rpc(); - - const pmt::pmt_t d_port; - const pmt::pmt_t d_dict_avg, d_dict_now; - - public: - probe_rate_impl(size_t itemsize, double update_rate_ms, double alpha = 0.0001); - ~probe_rate_impl(); - void set_alpha(double alpha); - double rate(); - double timesincelast(); - bool start(); - bool stop(); - - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - - }; // end class - - } /* namespace blocks */ +namespace blocks { + +class probe_rate_impl : public probe_rate +{ +private: + double d_alpha, d_beta, d_avg; + double d_min_update_time; + boost::posix_time::ptime d_last_update; + uint64_t d_lastthru; + void setup_rpc(); + + const pmt::pmt_t d_port; + const pmt::pmt_t d_dict_avg, d_dict_now; + +public: + probe_rate_impl(size_t itemsize, double update_rate_ms, double alpha = 0.0001); + ~probe_rate_impl(); + void set_alpha(double alpha); + double rate(); + double timesincelast(); + bool start(); + bool stop(); + + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); + +}; // end class + +} /* namespace blocks */ } /* namespace gr */ #endif |