gr::blocks::stream_demux
gr::block
gnuradio/blocks/stream_demux.h
std::shared_ptr< stream_demux > typedef std::shared_ptr<stream_demux> gr::blocks::stream_demux::sptr sptr gr::blocks::stream_demux::sptr
sptr static sptr gr::blocks::stream_demux::make (size_t itemsize, const std::vector< int > &lengths) make gr::blocks::stream_demux::make size_t itemsize const std::vector< int > & lengths

Stream demuxing block to demultiplex one stream into N output streams.

itemsize

the item size of the stream

lengths

a vector (list/tuple) specifying the number of items to copy to each output stream.

Stream demuxing block to demultiplex one stream into N output streams.

Demuxes a stream producing N outputs streams that contains n_0 items in the first stream, n_1 items in the second, etc. and repeats. Number of items of each output stream is specified using the 'lengths' parameter like so [n_0, n_1, ..., n_N-1].

Example: lengths = [2, 3, 4] input stream: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...] output_streams: [0, 1, 9, 10, ...] [2, 3, 4, 11, ...] [5, 6, 7, 8, ...]

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