11 #ifndef INCLUDED_ZEROMQ_PUB_MSG_SINK_H
12 #define INCLUDED_ZEROMQ_PUB_MSG_SINK_H
34 typedef std::shared_ptr<pub_msg_sink>
sptr;
45 static sptr make(
char* address,
int timeout = 100,
bool bind =
true);
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Sink the contents of a msg port to a ZMQ PUB socket.
Definition: pub_msg_sink.h:32
virtual std::string last_endpoint()=0
Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket.
static sptr make(char *address, int timeout=100, bool bind=true)
Return a shared_ptr to a new instance of zeromq::pub_msg_sink.
std::shared_ptr< pub_msg_sink > sptr
Definition: pub_msg_sink.h:34
#define ZEROMQ_API
Definition: gr-zeromq/include/gnuradio/zeromq/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29