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/include/gnuradio/zeromq/req_msg_source.h | |
parent | 7bf8b05bde26bfb1e2df684e2ab55b878b25350c (diff) |
zeromq: cleanup and made req_msg_source derive from gr::block
Diffstat (limited to 'gr-zeromq/include/gnuradio/zeromq/req_msg_source.h')
-rw-r--r-- | gr-zeromq/include/gnuradio/zeromq/req_msg_source.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gr-zeromq/include/gnuradio/zeromq/req_msg_source.h b/gr-zeromq/include/gnuradio/zeromq/req_msg_source.h index cf9183375f..05d80b8e7f 100644 --- a/gr-zeromq/include/gnuradio/zeromq/req_msg_source.h +++ b/gr-zeromq/include/gnuradio/zeromq/req_msg_source.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2013 Free Software Foundation, Inc. + * Copyright 2013-2015 Free Software Foundation, Inc. * * This file is part of GNU Radio. * @@ -24,20 +24,20 @@ #define INCLUDED_ZEROMQ_REQ_MSG_SOURCE_H #include <gnuradio/zeromq/api.h> -#include <gnuradio/sync_block.h> +#include <gnuradio/block.h> namespace gr { namespace zeromq { /*! - * \brief Receive messages on ZMQ REQ socket and source stream + * \brief Receive messages on ZMQ REQ socket output async messages * \ingroup zeromq * * \details - * This block will connect to a ZMQ REP socket, then produce all - * incoming messages as streaming output. + * This block will connect to a ZMQ REP socket, then resend all + * incoming messages as asynchronous messages. */ - class ZEROMQ_API req_msg_source : virtual public gr::sync_block + class ZEROMQ_API req_msg_source : virtual public gr::block { public: typedef boost::shared_ptr<req_msg_source> sptr; @@ -45,7 +45,6 @@ namespace gr { /*! * \brief Return a shared_ptr to a new instance of zeromq::req_msg_source. * - * * \param address ZMQ socket address specifier * \param timeout Receive timeout in seconds, default is 100ms, 1us increments * |