diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2015-01-12 16:04:45 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-01-12 16:06:41 -0800 |
commit | 5de5b1a87f71bdbed9925f80648756c566c3a91b (patch) | |
tree | 9ce1394c23245358974d9b32338c46c35d49c72b /gr-zeromq/lib/req_msg_source_impl.h | |
parent | 7bf8b05bde26bfb1e2df684e2ab55b878b25350c (diff) |
zeromq: cleanup and made req_msg_source derive from gr::block
Diffstat (limited to 'gr-zeromq/lib/req_msg_source_impl.h')
-rw-r--r-- | gr-zeromq/lib/req_msg_source_impl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gr-zeromq/lib/req_msg_source_impl.h b/gr-zeromq/lib/req_msg_source_impl.h index 3a691743b5..5835dd4b4d 100644 --- a/gr-zeromq/lib/req_msg_source_impl.h +++ b/gr-zeromq/lib/req_msg_source_impl.h @@ -35,19 +35,18 @@ namespace gr { int d_timeout; zmq::context_t *d_context; zmq::socket_t *d_socket; + boost::thread *d_thread; + void readloop(); - boost::thread *d_thread; public: + bool d_finished; + req_msg_source_impl(char *address, int timeout); ~req_msg_source_impl(); bool start(); bool stop(); - bool d_finished; - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); }; } // namespace zeromq |