gr::blocks::message_debug
gr::block
gnuradio/blocks/message_debug.h
std::shared_ptr< message_debug > std::shared_ptr<message_debug> gr::blocks::message_debug::sptr sptr gr::blocks::message_debug::sptr
sptr static sptr gr::blocks::message_debug::make (bool en_uvec=true, spdlog::level::level_enum log_level=spdlog::level::info) make gr::blocks::message_debug::make bool en_uvec true spdlog::level::level_enum log_level spdlog::level::info

Build the message debug block. It takes a single parameter that can be used to disable PDU vector printing and has two message ports: print and store.

en_uvec

Enable PDU Vector Printing.

log_level

The log level of the `log` port. Defaults to "info".

size_t virtual size_t gr::blocks::message_debug::num_messages ()=0 num_messages gr::blocks::message_debug::num_messages

Reports the number of messages received by this block.

pmt::pmt_t virtual pmt::pmt_t gr::blocks::message_debug::get_message (size_t i)=0 get_message gr::blocks::message_debug::get_message size_t i

Get a message (as a PMT) from the message vector at index `i`.

Messages passed to the 'store' port will be stored in a vector. This function retrieves those messages by index. They are index in order of when they were received (all messages are just pushed onto the back of a vector). This is mostly useful in debugging message passing graphs and in QA code.

i

The index in the vector for the message to retrieve.

a message at index `i` as a pmt_t.

void virtual void gr::blocks::message_debug::set_vector_print (bool en)=0 set_vector_print gr::blocks::message_debug::set_vector_print bool en

Enables or disables printing of PDU uniform vector data.

spdlog::level::level_enum virtual spdlog::level::level_enum gr::blocks::message_debug::level () const =0 level gr::blocks::message_debug::level

get the log level

void virtual void gr::blocks::message_debug::set_level (spdlog::level::level_enum log_level)=0 set_level gr::blocks::message_debug::set_level spdlog::level::level_enum log_level

set the log level

Debug block for the message passing system.

The message debug block is used to capture and print or store messages as they are received. Any block that generates a message may connect that message port to one or more of the two message input ports of this debug block. The message ports are:

- print: prints the message directly to standard out.

- store: stores the message in an internal vector. May be access using the get_message function.

- print_pdu: DEPRECATED! use print() for all printing

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