gr::uhd::rfnoc_block
gr::block
gr::uhd::rfnoc_block_generic
gr::uhd::rfnoc_ddc
gr::uhd::rfnoc_duc
gr::uhd::rfnoc_fir_filter
gr::uhd::rfnoc_replay
gr::uhd::rfnoc_rx_radio
gr::uhd::rfnoc_siggen
gr::uhd::rfnoc_tx_radio
gr::uhd::rfnoc_window
gnuradio/uhd/rfnoc_block.h
std::shared_ptr< rfnoc_block > using gr::uhd::rfnoc_block::sptr = std::shared_ptr<rfnoc_block> sptr gr::uhd::rfnoc_block::sptr
std::function< void(const pmt::pmt_t &, int, const pmt::pmt_t &)> using gr::uhd::rfnoc_block::cmd_handler_t = std::function<void(const pmt::pmt_t&, int, const pmt::pmt_t&)> cmd_handler_t gr::uhd::rfnoc_block::cmd_handler_t
std::unordered_map< std::string, cmd_handler_t > std::unordered_map<std::string, cmd_handler_t> gr::uhd::rfnoc_block::_msg_cmd_handlers _msg_cmd_handlers gr::uhd::rfnoc_block::_msg_cmd_handlers

Stores the individual command handlers.

::uhd::rfnoc::noc_block_base::sptr ::uhd::rfnoc::noc_block_base::sptr gr::uhd::rfnoc_block::d_block_ref d_block_ref gr::uhd::rfnoc_block::d_block_ref

Reference to the underlying RFNoC block.

gr::uhd::rfnoc_block::rfnoc_block
(::uhd::rfnoc::noc_block_base::sptr block_ref)
rfnoc_block
gr::uhd::rfnoc_block::rfnoc_block
::uhd::rfnoc::noc_block_base::sptr block_ref
gr::uhd::rfnoc_block::rfnoc_block
()
rfnoc_block
gr::uhd::rfnoc_block::rfnoc_block
void void gr::uhd::rfnoc_block::register_msg_cmd_handler (const std::string &cmd, cmd_handler_t handler) register_msg_cmd_handler gr::uhd::rfnoc_block::register_msg_cmd_handler const std::string & cmd cmd_handler_t handler

Register a new handler for command key `cmd`.

::uhd::rfnoc::noc_block_base::sptr ::uhd::rfnoc::noc_block_base::sptr gr::uhd::rfnoc_block::make_block_ref (rfnoc_graph::sptr graph, const ::uhd::device_addr_t &block_args, const std::string &block_name, const int device_select=-1, const int block_select=-1, const size_t max_ref_count=1) make_block_ref gr::uhd::rfnoc_block::make_block_ref rfnoc_graph::sptr graph const ::uhd::device_addr_t & block_args const std::string & block_name const int device_select -1 const int block_select -1 const size_t max_ref_count 1

Factory function to create a UHD block controller reference.

typename block_type
std::shared_ptr< block_type > std::shared_ptr< block_type > gr::uhd::rfnoc_block::get_block_ref () get_block_ref gr::uhd::rfnoc_block::get_block_ref

Return a type-cast block reference, or throw if the cast failed.

std::string std::string gr::uhd::rfnoc_block::get_unique_id () const get_unique_id gr::uhd::rfnoc_block::get_unique_id

Return the unique ID of the underlying block

int int gr::uhd::rfnoc_block::general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) final general_work gr::uhd::rfnoc_block::general_work general_work int noutput_items gr_vector_int & ninput_items gr_vector_const_void_star & input_items gr_vector_void_star & output_items

This method should never be called by RFNoC blocks, they do the work.

void void gr::uhd::rfnoc_block::set_properties (const ::uhd::device_addr_t &props, const size_t instance=0) set_properties gr::uhd::rfnoc_block::set_properties const ::uhd::device_addr_t & props const size_t instance 0

Set multiple properties coming from a dictionary

See the UHD manual for details.

This function allows the client to override the `instance` parameter for each property key/value pair passed in via the `props` parameter. If the key consists of the property name, followed by a colon (':') and then a number, the number following the colon is used to determine which instance of the property this set pertains to, and the `instance` parameter is ignored for that property. (Note that if the key does not have the colon and instance number override syntax, then `instance` is still used to determine which instance of the property to set. For example, in the following call: node->set_properties("dog=10,cat:2=5,bird:0=0.5", 1)

instance 1 of node's 'dog' property is set to 10, the 1 coming from the instance parameter, instance 2 of the node's 'cat' property is set to 5 due to the override syntax provided in the string, and instance 0 of the node's 'bird' property is set to 0.5 due to its override.

If the instance override is malformed, that is, there is no number following the colon, or the number cannot be parsed as an integer, a value_error is thrown.

If a key in `props` is not a valid property of this block, a warning is logged, but no error is raised.

typename T
void void gr::uhd::rfnoc_block::set_property (const std::string &name, const T &value, const size_t port=0) set_property gr::uhd::rfnoc_block::set_property const std::string & name const T & value const size_t port 0

Set a specific user property that belongs to this block.

Setting a user property will trigger a property resolution. This means that changing this block can have effects on other RFNoC blocks or nodes (like streamers).

name

The name of the property.

value

The new value of the property.

port

The port of the property.

typename T
const T const T gr::uhd::rfnoc_block::get_property (const std::string &name, const size_t port=0) get_property gr::uhd::rfnoc_block::get_property const std::string & name const size_t port 0

Get the value of a specific block argument. `The` type of an argument must be known at compile time.

Note: Despite this being a "getter", this function is not declared const. This is because internally, it can resolve properties, which may cause changes within the object.

name

The name of the property.

port

The port of the property.

The value of the property.

std::vector< std::string > std::vector< std::string > gr::uhd::rfnoc_block::get_property_ids () get_property_ids gr::uhd::rfnoc_block::get_property_ids
void void gr::uhd::rfnoc_block::_msg_handler_command (pmt::pmt_t msg) _msg_handler_command gr::uhd::rfnoc_block::_msg_handler_command pmt::pmt_t msg

Receives commands and handles them.

void void gr::uhd::rfnoc_block::_dispatch_msg_cmd_handler (const std::string &cmd, const pmt::pmt_t &val, int chan, pmt::pmt_t &msg) _dispatch_msg_cmd_handler gr::uhd::rfnoc_block::_dispatch_msg_cmd_handler const std::string & cmd const pmt::pmt_t & val int chan pmt::pmt_t & msg

For a given argument, call the associated handler, or if none exists,.

Base class for RFNoC blocks controlled by GNU Radio

Any GNU Radio block that is meant to control an RFNoC block should be derived from this class.

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