summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/probe_rate_impl.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-10-30 18:22:33 +0100
committermormj <34754695+mormj@users.noreply.github.com>2020-11-03 14:07:23 -0500
commit0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b (patch)
treeb454053fdc123711f3011b8a703de38e1d783ba3 /gr-blocks/lib/probe_rate_impl.h
parent1cfd6287635e339b313e1826fdfda23f474c91c8 (diff)
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/probe_rate_impl.h')
-rw-r--r--gr-blocks/lib/probe_rate_impl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/lib/probe_rate_impl.h b/gr-blocks/lib/probe_rate_impl.h
index a269f92aea..473afb1f5d 100644
--- a/gr-blocks/lib/probe_rate_impl.h
+++ b/gr-blocks/lib/probe_rate_impl.h
@@ -23,19 +23,19 @@ private:
const double d_min_update_time;
boost::posix_time::ptime d_last_update;
uint64_t d_lastthru;
- void setup_rpc();
+ void setup_rpc() override;
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();
+ ~probe_rate_impl() override;
+ void set_alpha(double alpha) override;
+ double rate() override;
double timesincelast();
- bool start();
- bool stop();
+ bool start() override;
+ bool stop() override;
int work(int noutput_items,
gr_vector_const_void_star& input_items,