gr::zeromq::pub_sink
gr::sync_block
gnuradio/zeromq/pub_sink.h
std::shared_ptr< pub_sink > std::shared_ptr<pub_sink> gr::zeromq::pub_sink::sptr sptr gr::zeromq::pub_sink::sptr
sptr static sptr gr::zeromq::pub_sink::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) make gr::zeromq::pub_sink::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.

itemsize

Size of a stream item in bytes.

vlen

Vector length of the input items. Note that one vector is one item.

address

ZMQ socket address specifier.

timeout

Receive timeout in milliseconds, default is 100ms, 1us increments.

pass_tags

Whether sink will serialize and pass tags over the link.

hwm

High Watermark to configure the socket to (-1 => zmq's default)

key

Prepend a key/topic to the start of each message (default is none)

drop_on_hwm

Optionally drop samples when high watermark is reached.

bind

If true this block will bind to the address, otherwise it will connect; the default is to bind

std::string virtual std::string gr::zeromq::pub_sink::last_endpoint ()=0 last_endpoint gr::zeromq::pub_sink::last_endpoint

Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket.

Sink the contents of a stream to a ZMQ PUB socket.

This block acts as a streaming sink for a GNU Radio flowgraph and writes its contents to a ZMQ PUB socket. A PUB socket may have subscribers and will pass all incoming stream data to each subscriber with a matching key. If the publisher's key is set to "GNURadio", the following example subscriber keys will match: "G", "GN", .., "GNURadio". In other words, the subscriber must contain the first set of characters from the publisher's key. If the subscriber sets an empty key "", it will accept all input messages from the publisher (including the key itself if one is set). Subscribers can either be another gr-zeromq source block or a non-GNU Radio ZMQ socket.

gr::basic_block
gr::block
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
gr::zeromq::pub_sink
std::enable_shared_from_this< basic_block >
T
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::io_signature
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
gr::zeromq::pub_sink
std::basic_string< Char >
std::deque< T >
elements
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
keys
elements
std::shared_ptr< T >
ptr
std::shared_ptr< io_signature >
ptr
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::string
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
- gr::zeromq::pub_sink
  _post
- gr::zeromq::pub_sink
  active_thread_priority
- gr::zeromq::pub_sink
  add_item_tag
- gr::zeromq::pub_sink
  add_item_tag
- gr::zeromq::pub_sink
  alias
- gr::zeromq::pub_sink
  alias_pmt
- gr::zeromq::pub_sink
  alias_set
- gr::zeromq::pub_sink
  alignment
- gr::zeromq::pub_sink
  allocate_buffer
- gr::zeromq::pub_sink
  allocate_detail
- gr::zeromq::pub_sink
  basic_block
- gr::zeromq::pub_sink
  basic_block
- gr::zeromq::pub_sink
  BLACK
- gr::zeromq::pub_sink
  blkd_input_timer_value
- gr::zeromq::pub_sink
  block
- gr::zeromq::pub_sink
  block
- gr::zeromq::pub_sink
  check_topology
- gr::zeromq::pub_sink
  clear_finished
- gr::zeromq::pub_sink
  color
- gr::zeromq::pub_sink
  consume
- gr::zeromq::pub_sink
  consume_each
- gr::zeromq::pub_sink
  d_blkd_input_timer_value
- gr::zeromq::pub_sink
  d_color
- gr::zeromq::pub_sink
  d_debug_logger
- gr::zeromq::pub_sink
  d_input_signature
- gr::zeromq::pub_sink
  d_logger
- gr::zeromq::pub_sink
  d_max_output_buffer
- gr::zeromq::pub_sink
  d_message_subscribers
- gr::zeromq::pub_sink
  d_min_output_buffer
- gr::zeromq::pub_sink
  d_name
- gr::zeromq::pub_sink
  d_output_signature
- gr::zeromq::pub_sink
  d_pmt_done
- gr::zeromq::pub_sink
  d_rpc_set
- gr::zeromq::pub_sink
  d_rpc_vars
- gr::zeromq::pub_sink
  d_setlock
- gr::zeromq::pub_sink
  d_symbol_alias
- gr::zeromq::pub_sink
  d_symbol_name
- gr::zeromq::pub_sink
  d_symbolic_id
- gr::zeromq::pub_sink
  d_system_port
- gr::zeromq::pub_sink
  d_unique_id
- gr::zeromq::pub_sink
  declare_sample_delay
- gr::zeromq::pub_sink
  declare_sample_delay
- gr::zeromq::pub_sink
  delete_head_nowait
- gr::zeromq::pub_sink
  detail
- gr::zeromq::pub_sink
  dispatch_msg
- gr::zeromq::pub_sink
  empty_handled_p
- gr::zeromq::pub_sink
  empty_handled_p
- gr::zeromq::pub_sink
  empty_p
- gr::zeromq::pub_sink
  empty_p
- gr::zeromq::pub_sink
  enable_update_rate
- gr::zeromq::pub_sink
  erase_msg
- gr::zeromq::pub_sink
  expand_minmax_buffer
- gr::zeromq::pub_sink
  finished
- gr::zeromq::pub_sink
  fixed_rate
- gr::zeromq::pub_sink
  fixed_rate_ninput_to_noutput
- gr::zeromq::pub_sink
  fixed_rate_noutput_to_ninput
- gr::zeromq::pub_sink
  forecast
- gr::zeromq::pub_sink
  general_work
- gr::zeromq::pub_sink
  get_iterator
- gr::zeromq::pub_sink
  get_msg_map
- gr::zeromq::pub_sink
  get_tags_in_range
- gr::zeromq::pub_sink
  get_tags_in_range
- gr::zeromq::pub_sink
  get_tags_in_window
- gr::zeromq::pub_sink
  get_tags_in_window
- gr::zeromq::pub_sink
  GREY
- gr::zeromq::pub_sink
  has_msg_handler
- gr::zeromq::pub_sink
  has_msg_port
- gr::zeromq::pub_sink
  history
- gr::zeromq::pub_sink
  identifier
- gr::zeromq::pub_sink
  input_signature
- gr::zeromq::pub_sink
  insert_tail
- gr::zeromq::pub_sink
  is_pc_rpc_set
- gr::zeromq::pub_sink
  is_rpc_set
- gr::zeromq::pub_sink
  is_set_max_noutput_items
- gr::zeromq::pub_sink
  is_unaligned
- gr::zeromq::pub_sink
  last_endpoint
- gr::zeromq::pub_sink
  log_level
- gr::zeromq::pub_sink
  make
- gr::zeromq::pub_sink
  max_noutput_items
- gr::zeromq::pub_sink
  max_output_buffer
- gr::zeromq::pub_sink
  message_port_is_hier
- gr::zeromq::pub_sink
  message_port_is_hier_in
- gr::zeromq::pub_sink
  message_port_is_hier_out
- gr::zeromq::pub_sink
  message_port_pub
- gr::zeromq::pub_sink
  message_port_register_in
- gr::zeromq::pub_sink
  message_port_register_out
- gr::zeromq::pub_sink
  message_port_sub
- gr::zeromq::pub_sink
  message_port_unsub
- gr::zeromq::pub_sink
  message_ports_in
- gr::zeromq::pub_sink
  message_ports_out
- gr::zeromq::pub_sink
  message_subscribers
- gr::zeromq::pub_sink
  min_noutput_items
- gr::zeromq::pub_sink
  min_output_buffer
- gr::zeromq::pub_sink
  mp_relative_rate
- gr::zeromq::pub_sink
  msg_accepter
- gr::zeromq::pub_sink
  msg_queue
- gr::zeromq::pub_sink
  name
- gr::zeromq::pub_sink
  nitems_read
- gr::zeromq::pub_sink
  nitems_written
- gr::zeromq::pub_sink
  nmsgs
- gr::zeromq::pub_sink
  no_pc_rpc
- gr::zeromq::pub_sink
  notify_msg_neighbors
- gr::zeromq::pub_sink
  output_multiple
- gr::zeromq::pub_sink
  output_multiple_set
- gr::zeromq::pub_sink
  output_signature
- gr::zeromq::pub_sink
  pc_input_buffers_full
- gr::zeromq::pub_sink
  pc_input_buffers_full
- gr::zeromq::pub_sink
  pc_input_buffers_full_avg
- gr::zeromq::pub_sink
  pc_input_buffers_full_avg
- gr::zeromq::pub_sink
  pc_input_buffers_full_var
- gr::zeromq::pub_sink
  pc_input_buffers_full_var
- gr::zeromq::pub_sink
  pc_noutput_items
- gr::zeromq::pub_sink
  pc_noutput_items_avg
- gr::zeromq::pub_sink
  pc_noutput_items_var
- gr::zeromq::pub_sink
  pc_nproduced
- gr::zeromq::pub_sink
  pc_nproduced_avg
- gr::zeromq::pub_sink
  pc_nproduced_var
- gr::zeromq::pub_sink
  pc_output_buffers_full
- gr::zeromq::pub_sink
  pc_output_buffers_full
- gr::zeromq::pub_sink
  pc_output_buffers_full_avg
- gr::zeromq::pub_sink
  pc_output_buffers_full_avg
- gr::zeromq::pub_sink
  pc_output_buffers_full_var
- gr::zeromq::pub_sink
  pc_output_buffers_full_var
- gr::zeromq::pub_sink
  pc_throughput_avg
- gr::zeromq::pub_sink
  pc_work_time
- gr::zeromq::pub_sink
  pc_work_time_avg
- gr::zeromq::pub_sink
  pc_work_time_total
- gr::zeromq::pub_sink
  pc_work_time_var
- gr::zeromq::pub_sink
  post
- gr::zeromq::pub_sink
  processor_affinity
- gr::zeromq::pub_sink
  produce
- gr::zeromq::pub_sink
  relative_rate
- gr::zeromq::pub_sink
  relative_rate_d
- gr::zeromq::pub_sink
  relative_rate_i
- gr::zeromq::pub_sink
  remove_item_tag
- gr::zeromq::pub_sink
  remove_item_tag
- gr::zeromq::pub_sink
  replace_buffer
- gr::zeromq::pub_sink
  reset_perf_counters
- gr::zeromq::pub_sink
  rpc_set
- gr::zeromq::pub_sink
  sample_delay
- gr::zeromq::pub_sink
  set_alignment
- gr::zeromq::pub_sink
  set_blkd_input_timer_value
- gr::zeromq::pub_sink
  set_block_alias
- gr::zeromq::pub_sink
  set_color
- gr::zeromq::pub_sink
  set_detail
- gr::zeromq::pub_sink
  set_fixed_rate
- gr::zeromq::pub_sink
  set_history
- gr::zeromq::pub_sink
  set_input_signature
- gr::zeromq::pub_sink
  set_inverse_relative_rate
- gr::zeromq::pub_sink
  set_is_unaligned
- gr::zeromq::pub_sink
  set_log_level
- gr::zeromq::pub_sink
  set_max_noutput_items
- gr::zeromq::pub_sink
  set_max_output_buffer
- gr::zeromq::pub_sink
  set_max_output_buffer
- gr::zeromq::pub_sink
  set_min_noutput_items
- gr::zeromq::pub_sink
  set_min_output_buffer
- gr::zeromq::pub_sink
  set_min_output_buffer
- gr::zeromq::pub_sink
  set_msg_handler
- gr::zeromq::pub_sink
  set_output_multiple
- gr::zeromq::pub_sink
  set_output_signature
- gr::zeromq::pub_sink
  set_processor_affinity
- gr::zeromq::pub_sink
  set_relative_rate
- gr::zeromq::pub_sink
  set_relative_rate
- gr::zeromq::pub_sink
  set_tag_propagation_policy
- gr::zeromq::pub_sink
  set_thread_priority
- gr::zeromq::pub_sink
  set_unaligned
- gr::zeromq::pub_sink
  setup_pc_rpc
- gr::zeromq::pub_sink
  setup_rpc
- gr::zeromq::pub_sink
  shared_from_base
- gr::zeromq::pub_sink
  sptr
- gr::zeromq::pub_sink
  start
- gr::zeromq::pub_sink
  stop
- gr::zeromq::pub_sink
  symbol_name
- gr::zeromq::pub_sink
  symbolic_id
- gr::zeromq::pub_sink
  sync_block
- gr::zeromq::pub_sink
  sync_block
- gr::zeromq::pub_sink
  system_handler
- gr::zeromq::pub_sink
  tag_propagation_policy
- gr::zeromq::pub_sink
  tag_propagation_policy_t
- gr::zeromq::pub_sink
  thread_priority
- gr::zeromq::pub_sink
  to_basic_block
- gr::zeromq::pub_sink
  TPP_ALL_TO_ALL
- gr::zeromq::pub_sink
  TPP_CUSTOM
- gr::zeromq::pub_sink
  TPP_DONT
- gr::zeromq::pub_sink
  TPP_ONE_TO_ONE
- gr::zeromq::pub_sink
  unaligned
- gr::zeromq::pub_sink
  unique_id
- gr::zeromq::pub_sink
  unset_max_noutput_items
- gr::zeromq::pub_sink
  unset_processor_affinity
- gr::zeromq::pub_sink
  update_rate
- gr::zeromq::pub_sink
  vcolor
- gr::zeromq::pub_sink
  WHITE
- gr::zeromq::pub_sink
  work
- gr::zeromq::pub_sink
  WORK_CALLED_PRODUCE
- gr::zeromq::pub_sink
  WORK_DONE
- gr::zeromq::pub_sink
  work_return_t
- gr::zeromq::pub_sink
  ~basic_block
- gr::zeromq::pub_sink
  ~block
- gr::zeromq::pub_sink
  ~msg_accepter