diff options
author | ghostop14 <ghostop14@gmail.com> | 2020-01-08 10:00:22 -0800 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-01-24 21:42:41 -0500 |
commit | ba18d52949436922fef73bb85b36b13d6d510ac4 (patch) | |
tree | ad6bf7e5a3f30b8f0cf64ac9906f4ed35eb812b8 /gr-blocks/lib/selector_impl.h | |
parent | 09c2cf363dd7b32456e27aee92f3ec7649c9d763 (diff) |
Added in/out selector msg ports
Input and output port selection can now be controlled by messages.
Diffstat (limited to 'gr-blocks/lib/selector_impl.h')
-rw-r--r-- | gr-blocks/lib/selector_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |