diff options
author | Brennan Ashton <bashton@brennanashton.com> | 2018-11-02 23:50:49 -0700 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2018-11-28 00:02:35 +0100 |
commit | b76a95c52f812181605248f1f590a199e2e5d0e3 (patch) | |
tree | 9493ca923d95928a4a662e2c05f6d1c95b426029 /gr-zeromq/lib/pull_source_impl.h | |
parent | 0733bc4f788c424264d26c1a1f82d831c91b2c15 (diff) |
gr-zeromq: Add last_endpoint function to zmq source and sink blocks
The main reason for this is is allows you to read back the real
address string in the case that port 0 is used and the OS has
auto-assigned a free port.
Diffstat (limited to 'gr-zeromq/lib/pull_source_impl.h')
-rw-r--r-- | gr-zeromq/lib/pull_source_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-zeromq/lib/pull_source_impl.h b/gr-zeromq/lib/pull_source_impl.h index 7d8ab53bd0..c08ab0521b 100644 --- a/gr-zeromq/lib/pull_source_impl.h +++ b/gr-zeromq/lib/pull_source_impl.h @@ -39,6 +39,7 @@ namespace gr { int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); + std::string last_endpoint() override {return base_source_impl::last_endpoint();} }; } // namespace zeromq |