diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h')
-rw-r--r-- | gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h b/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h index a0fe8e880f..341cb213db 100644 --- a/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h +++ b/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h @@ -27,37 +27,37 @@ #include <gnuradio/block.h> namespace gr { - namespace zeromq { +namespace zeromq { + +/*! + * \brief Receive messages on ZMQ PULL socket and output async messages + * \ingroup zeromq + * + * \details + * This block will connect to a ZMQ PUSH socket, then convert + * received messages to outgoing async messages. + */ +class ZEROMQ_API pull_msg_source : virtual public gr::block +{ +public: + typedef boost::shared_ptr<pull_msg_source> sptr; /*! - * \brief Receive messages on ZMQ PULL socket and output async messages - * \ingroup zeromq + * \brief Return a shared_ptr to a new instance of gr::zeromq::pull_msg_source. + * + * \param address ZMQ socket address specifier + * \param timeout Receive timeout in milliseconds, default is 100ms, 1us increments * - * \details - * This block will connect to a ZMQ PUSH socket, then convert - * received messages to outgoing async messages. */ - class ZEROMQ_API pull_msg_source : virtual public gr::block - { - public: - typedef boost::shared_ptr<pull_msg_source> sptr; - - /*! - * \brief Return a shared_ptr to a new instance of gr::zeromq::pull_msg_source. - * - * \param address ZMQ socket address specifier - * \param timeout Receive timeout in milliseconds, default is 100ms, 1us increments - * - */ - static sptr make(char *address, int timeout=100); - - /*! - * \brief Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket. - */ - virtual std::string last_endpoint() = 0; - }; - - } // namespace zeromq + static sptr make(char* address, int timeout = 100); + + /*! + * \brief Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket. + */ + virtual std::string last_endpoint() = 0; +}; + +} // namespace zeromq } // namespace gr #endif /* INCLUDED_ZEROMQ_PULL_MSG_SOURCE_H */ |