11#ifndef INCLUDED_ZEROMQ_PUB_SINK_H
12#define INCLUDED_ZEROMQ_PUB_SINK_H
40 typedef std::shared_ptr<pub_sink>
sptr;
58 bool pass_tags =
false,
60 const std::string& key =
"",
61 bool drop_on_hwm =
true);
synchronous 1:1 input to output with history
Definition: sync_block.h:26
Sink the contents of a stream to a ZMQ PUB socket.
Definition: pub_sink.h:38
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 drop_on_hwm=true)
Return a shared_ptr to a new instance of zeromq::pub_sink.
std::shared_ptr< pub_sink > sptr
Definition: pub_sink.h:40
virtual std::string last_endpoint()=0
Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket.
#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