From ba18d52949436922fef73bb85b36b13d6d510ac4 Mon Sep 17 00:00:00 2001 From: ghostop14 <ghostop14@gmail.com> Date: Wed, 8 Jan 2020 10:00:22 -0800 Subject: Added in/out selector msg ports Input and output port selection can now be controlled by messages. --- gr-blocks/lib/selector_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gr-blocks/lib/selector_impl.h') diff --git a/gr-blocks/lib/selector_impl.h b/gr-blocks/lib/selector_impl.h index e11068d805..fe4b36f9f1 100644 --- a/gr-blocks/lib/selector_impl.h +++ b/gr-blocks/lib/selector_impl.h @@ -47,6 +47,8 @@ public: void forecast(int noutput_items, gr_vector_int& ninput_items_required); bool check_topology(int ninputs, int noutputs); void setup_rpc(); + void handle_msg_input_index(pmt::pmt_t msg); + void handle_msg_output_index(pmt::pmt_t msg); void handle_enable(pmt::pmt_t msg); void set_enabled(bool enable) { -- cgit v1.2.3