diff options
Diffstat (limited to 'gnuradio-runtime/lib/block_gateway_impl.h')
-rw-r--r-- | gnuradio-runtime/lib/block_gateway_impl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-runtime/lib/block_gateway_impl.h b/gnuradio-runtime/lib/block_gateway_impl.h index c3d53a408e..e03d45518c 100644 --- a/gnuradio-runtime/lib/block_gateway_impl.h +++ b/gnuradio-runtime/lib/block_gateway_impl.h @@ -36,9 +36,9 @@ public: gr_vector_const_void_star& input_items, gr_vector_void_star& output_items) override; - bool start(void); - bool stop(void); - void set_msg_handler_pybind(pmt::pmt_t which_port, std::string& handler_name) + bool start(void) override; + bool stop(void) override; + void set_msg_handler_pybind(pmt::pmt_t which_port, std::string& handler_name) override { if (msg_queue.find(which_port) == msg_queue.end()) { throw std::runtime_error( @@ -52,7 +52,7 @@ protected: typedef std::map<pmt::pmt_t, std::string, pmt::comparator> msg_handlers_pybind_t; msg_handlers_pybind_t d_msg_handlers_pybind; - bool has_msg_handler(pmt::pmt_t which_port) + bool has_msg_handler(pmt::pmt_t which_port) override { if (d_msg_handlers_pybind.find(which_port) != d_msg_handlers_pybind.end()) { return true; @@ -61,7 +61,7 @@ protected: } } - void dispatch_msg(pmt::pmt_t which_port, pmt::pmt_t msg) + void dispatch_msg(pmt::pmt_t which_port, pmt::pmt_t msg) override { // Is there a handler? if (d_msg_handlers_pybind.find(which_port) != d_msg_handlers_pybind.end()) { |