diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2020-01-12 01:54:44 -0500 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-03-02 18:15:24 -0500 |
commit | 1b362a2336f6f9b0db57021e280ff65e32409905 (patch) | |
tree | c8fcaef950c4661a652b90862e34a9629bdc42ae /gr-zeromq/lib/sub_source_impl.h | |
parent | 5f18a419e2cec9f46d67147cae957d304d7a0195 (diff) |
gr-zeromq: Add optional key filtering
Fixes #2236
Allows to filter a multi-part message by key/topic on a sub source and
insert key/topic on a pub sink.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'gr-zeromq/lib/sub_source_impl.h')
-rw-r--r-- | gr-zeromq/lib/sub_source_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-zeromq/lib/sub_source_impl.h b/gr-zeromq/lib/sub_source_impl.h index 78d3ddb868..08221381b0 100644 --- a/gr-zeromq/lib/sub_source_impl.h +++ b/gr-zeromq/lib/sub_source_impl.h @@ -26,7 +26,8 @@ public: char* address, int timeout, bool pass_tags, - int hwm); + int hwm, + const std::string& key); int work(int noutput_items, gr_vector_const_void_star& input_items, |