diff options
Diffstat (limited to 'gr-zeromq/lib/req_source_impl.h')
-rw-r--r-- | gr-zeromq/lib/req_source_impl.h | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/gr-zeromq/lib/req_source_impl.h b/gr-zeromq/lib/req_source_impl.h index ec87832518..6e2d71f565 100644 --- a/gr-zeromq/lib/req_source_impl.h +++ b/gr-zeromq/lib/req_source_impl.h @@ -29,23 +29,29 @@ #include "base_impl.h" namespace gr { - namespace zeromq { +namespace zeromq { - class req_source_impl : public req_source, public base_source_impl - { - public: - req_source_impl(size_t itemsize, size_t vlen, char *address, int timeout, bool pass_tags, int hwm); +class req_source_impl : public req_source, public base_source_impl +{ +public: + req_source_impl(size_t itemsize, + size_t vlen, + char* address, + int timeout, + bool pass_tags, + int hwm); - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); + 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();} - private: - bool d_req_pending; - }; + std::string last_endpoint() override { return base_source_impl::last_endpoint(); } - } // namespace zeromq +private: + bool d_req_pending; +}; + +} // namespace zeromq } // namespace gr #endif /* INCLUDED_ZEROMQ_REQ_SOURCE_IMPL_H */ |