11#ifndef INCLUDED_ZEROMQ_PUB_SINK_H 
   12#define INCLUDED_ZEROMQ_PUB_SINK_H 
   40    typedef std::shared_ptr<pub_sink> 
sptr;
 
   60                     bool pass_tags = 
false,
 
   62                     const std::string& key = 
"",
 
   63                     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
std::shared_ptr< pub_sink > sptr
Definition pub_sink.h:40
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, bool bind=true)
Return a shared_ptr to a new instance of zeromq::pub_sink.
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
Definition pub_msg_sink.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29