diff --git a/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h b/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h index 1b141f6f921..8ff10b6deda 100644 --- a/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h +++ b/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h @@ -25,49 +25,49 @@ struct to_pmt_f { }; struct to_pmt_byte_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_short_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_int_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_long_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_double_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_string_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_bool_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_complex_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_f32vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_f64vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_s64vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_s32vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_s16vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_s8vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; struct to_pmt_c32vect_f : public to_pmt_f { - pmt::pmt_t operator()(const GNURadio::Knob& knob); + pmt::pmt_t operator()(const GNURadio::Knob& knob) override; }; class To_PMT diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h b/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h index 62a45f798fd..f61338f5613 100644 --- a/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h +++ b/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h @@ -26,11 +26,11 @@ class rpcserver_booter_thrift { public: rpcserver_booter_thrift(); - ~rpcserver_booter_thrift(); + ~rpcserver_booter_thrift() override; - rpcserver_base* i(); - const std::string& type() { return d_type; } - const std::vector endpoints(); + rpcserver_base* i() override; + const std::string& type() override { return d_type; } + const std::vector endpoints() override; private: std::string d_type; diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h b/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h index 67fc8370f33..bec82cea449 100644 --- a/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h +++ b/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h @@ -29,22 +29,24 @@ class rpcserver_thrift : public virtual rpcserver_base, public GNURadio::Control { public: rpcserver_thrift(); - virtual ~rpcserver_thrift(); + ~rpcserver_thrift() override; void registerConfigureCallback(const std::string& id, - const configureCallback_t callback); - void unregisterConfigureCallback(const std::string& id); + const configureCallback_t callback) override; + void unregisterConfigureCallback(const std::string& id) override; - void registerQueryCallback(const std::string& id, const queryCallback_t callback); - void unregisterQueryCallback(const std::string& id); + void registerQueryCallback(const std::string& id, + const queryCallback_t callback) override; + void unregisterQueryCallback(const std::string& id) override; - void registerHandlerCallback(const std::string& id, const handlerCallback_t callback); - void unregisterHandlerCallback(const std::string& id); + void registerHandlerCallback(const std::string& id, + const handlerCallback_t callback) override; + void unregisterHandlerCallback(const std::string& id) override; - void setKnobs(const GNURadio::KnobMap&); - void getKnobs(GNURadio::KnobMap&, const GNURadio::KnobIDList&); - void getRe(GNURadio::KnobMap&, const GNURadio::KnobIDList&); - void properties(GNURadio::KnobPropMap&, const GNURadio::KnobIDList& knobs); + void setKnobs(const GNURadio::KnobMap&) override; + void getKnobs(GNURadio::KnobMap&, const GNURadio::KnobIDList&) override; + void getRe(GNURadio::KnobMap&, const GNURadio::KnobIDList&) override; + void properties(GNURadio::KnobPropMap&, const GNURadio::KnobIDList& knobs) override; /*! * \brief Call this to post a message to the \p port for the block @@ -72,9 +74,9 @@ class rpcserver_thrift : public virtual rpcserver_base, public GNURadio::Control */ void postMessage(const std::string& alias, const std::string& port, - const std::string& msg); + const std::string& msg) override; - virtual void shutdown(); + void shutdown() override; private: static gr::logger_ptr d_logger; diff --git a/gnuradio-runtime/include/gnuradio/thrift_server_template.h b/gnuradio-runtime/include/gnuradio/thrift_server_template.h index 6cd8f63d15a..c2c891c957e 100644 --- a/gnuradio-runtime/include/gnuradio/thrift_server_template.h +++ b/gnuradio-runtime/include/gnuradio/thrift_server_template.h @@ -39,7 +39,7 @@ class thrift_server_template : public thrift_application_base; private: @@ -62,10 +62,10 @@ class thrift_server_template : public thrift_application_base - getTransport(std::shared_ptr trans) + std::shared_ptr + getTransport(std::shared_ptr trans) override { return std::shared_ptr( new thrift::transport::TBufferedTransport(trans, bufferSize));