11 #ifndef INCLUDED_ZEROMQ_SUB_SOURCE_H
12 #define INCLUDED_ZEROMQ_SUB_SOURCE_H
31 typedef std::shared_ptr<sub_source>
sptr;
50 bool pass_tags =
false,
52 const std::string& key =
"",
synchronous 1:1 input to output with history
Definition: sync_block.h:26
Receive messages on ZMQ SUB socket and source stream.
Definition: sub_source.h:29
virtual std::string last_endpoint()=0
Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket.
std::shared_ptr< sub_source > sptr
Definition: sub_source.h:31
static sptr make(size_t itemsize, size_t vlen, char *address, int timeout=100, bool pass_tags=false, int hwm=-1, const std::string &key="", bool bind=false)
Return a shared_ptr to a new instance of gr::zeromq::sub_source.
#define ZEROMQ_API
Definition: gr-zeromq/include/gnuradio/zeromq/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29