diff options
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/hier_block2.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/hier_block2.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnuradio-runtime/include/gnuradio/hier_block2.h b/gnuradio-runtime/include/gnuradio/hier_block2.h index fc81796a78..f79f4ef01f 100644 --- a/gnuradio-runtime/include/gnuradio/hier_block2.h +++ b/gnuradio-runtime/include/gnuradio/hier_block2.h @@ -53,7 +53,7 @@ protected: gr::io_signature::sptr output_signature); public: - virtual ~hier_block2(); + ~hier_block2() override; /*! * \brief typedef for object returned from self(). @@ -203,22 +203,22 @@ public: hier_block2_sptr to_hier_block2(); // Needed for Python type coercion - bool has_msg_port(pmt::pmt_t which_port) + bool has_msg_port(pmt::pmt_t which_port) override { return message_port_is_hier(which_port) || basic_block::has_msg_port(which_port); } - bool message_port_is_hier(pmt::pmt_t port_id) + bool message_port_is_hier(pmt::pmt_t port_id) override { return message_port_is_hier_in(port_id) || message_port_is_hier_out(port_id); } - bool message_port_is_hier_in(pmt::pmt_t port_id) + bool message_port_is_hier_in(pmt::pmt_t port_id) override { return pmt::list_has(hier_message_ports_in, port_id); } - bool message_port_is_hier_out(pmt::pmt_t port_id) + bool message_port_is_hier_out(pmt::pmt_t port_id) override { return pmt::list_has(hier_message_ports_out, port_id); } @@ -253,12 +253,12 @@ public: * * \param mask a vector of ints of the core numbers available to this block. */ - void set_processor_affinity(const std::vector<int>& mask); + void set_processor_affinity(const std::vector<int>& mask) override; /*! * \brief Remove processor affinity for all blocks in hier_block2. */ - void unset_processor_affinity(); + void unset_processor_affinity() override; /*! * \brief Get the current processor affinity. @@ -269,7 +269,7 @@ public: * interface. If any block has been individually set, then this * call could be misleading. */ - std::vector<int> processor_affinity(); + std::vector<int> processor_affinity() override; /*! * \brief Set the logger's output level. @@ -289,12 +289,12 @@ public: * \li fatal * \li emerg */ - void set_log_level(std::string level); + void set_log_level(std::string level) override; /*! * \brief Get the logger's output level */ - std::string log_level(); + std::string log_level() override; /*! * \brief Get if all block min buffers should be set. |