gr::uhd::rfnoc_graph
gnuradio/uhd/rfnoc_graph.h
std::shared_ptr< rfnoc_graph > using gr::uhd::rfnoc_graph::sptr = std::shared_ptr<rfnoc_graph> sptr gr::uhd::rfnoc_graph::sptr
const size_t const size_t gr::uhd::rfnoc_graph::NULL_ADAPTER_ID NULL_ADAPTER_ID gr::uhd::rfnoc_graph::NULL_ADAPTER_ID = static_cast<size_t>(::uhd::transport::NULL_ADAPTER_ID)
sptr static sptr gr::uhd::rfnoc_graph::make (const ::uhd::device_addr_t &dev_addr) make gr::uhd::rfnoc_graph::make const ::uhd::device_addr_t & dev_addr
virtual gr::uhd::rfnoc_graph::~rfnoc_graph
()
~rfnoc_graph
gr::uhd::rfnoc_graph::~rfnoc_graph
void virtual void gr::uhd::rfnoc_graph::connect (const std::string &src_block, const size_t src_block_port, const std::string &dst_block, const size_t dst_block_port, const bool is_back_edge=false)=0 connect gr::uhd::rfnoc_graph::connect const std::string & src_block const size_t src_block_port const std::string & dst_block const size_t dst_block_port const bool is_back_edge false

Connect two blocks, or a block to a streamer, or a streamer to a block.

void virtual void gr::uhd::rfnoc_graph::connect (const std::string &src_block, const std::string &dst_block, const bool is_back_edge=false)=0 connect gr::uhd::rfnoc_graph::connect const std::string & src_block const std::string & dst_block const bool is_back_edge false

Convenience overload: Defaults to port 0 on both blocks.

virtual::uhd::rx_streamer::sptr virtual::uhd::rx_streamer::sptr gr::uhd::rfnoc_graph::create_rx_streamer (const size_t num_ports, const ::uhd::stream_args_t &args)=0 create_rx_streamer gr::uhd::rfnoc_graph::create_rx_streamer const size_t num_ports const ::uhd::stream_args_t & args

Create an RX streamer.

virtual::uhd::tx_streamer::sptr virtual::uhd::tx_streamer::sptr gr::uhd::rfnoc_graph::create_tx_streamer (const size_t num_ports, const ::uhd::stream_args_t &args)=0 create_tx_streamer gr::uhd::rfnoc_graph::create_tx_streamer const size_t num_ports const ::uhd::stream_args_t & args

Create a TX streamer.

void virtual void gr::uhd::rfnoc_graph::set_streamer_adapter_id (const std::string &stream_block_id, const size_t port, const size_t adapter_id)=0 set_streamer_adapter_id gr::uhd::rfnoc_graph::set_streamer_adapter_id const std::string & stream_block_id const size_t port const size_t adapter_id

Set the desired adapter ID for a streamer connection.

void virtual void gr::uhd::rfnoc_graph::commit ()=0 commit gr::uhd::rfnoc_graph::commit

Commit the graph and run initial checks.

std::string virtual std::string gr::uhd::rfnoc_graph::get_block_id (const std::string &block_name, const int device_select, const int block_select)=0 get_block_id gr::uhd::rfnoc_graph::get_block_id const std::string & block_name const int device_select const int block_select

Return a valid block ID string, if it exists, or an empty string, if not

This will check the available blocks on the connected devices and see if they match the block name, device ID, and block number.

void virtual void gr::uhd::rfnoc_graph::set_time_source (const std::string &source, const size_t mb_index)=0 set_time_source gr::uhd::rfnoc_graph::set_time_source const std::string & source const size_t mb_index

Set time source on the specified motherboard.

void virtual void gr::uhd::rfnoc_graph::set_clock_source (const std::string &source, const size_t mb_index)=0 set_clock_source gr::uhd::rfnoc_graph::set_clock_source const std::string & source const size_t mb_index

Set clock source on the specified motherboard.

virtual::uhd::rfnoc::noc_block_base::sptr virtual::uhd::rfnoc::noc_block_base::sptr gr::uhd::rfnoc_graph::get_block_ref (const std::string &block_id, const size_t max_ref_count)=0 get_block_ref gr::uhd::rfnoc_graph::get_block_ref const std::string & block_id const size_t max_ref_count

Return a reference to the block with a given block ID.

GNU Radio-specific wrapper for uhd::rfnoc::rfnoc_graph

This wraps uhd::rfnoc::rfnoc_graph for simpler insertion into GNU Radio flow graphs. All API calls match those on said class.

- gr::uhd::rfnoc_graph
  commit
- gr::uhd::rfnoc_graph
  connect
- gr::uhd::rfnoc_graph
  connect
- gr::uhd::rfnoc_graph
  create_rx_streamer
- gr::uhd::rfnoc_graph
  create_tx_streamer
- gr::uhd::rfnoc_graph
  get_block_id
- gr::uhd::rfnoc_graph
  get_block_ref
- gr::uhd::rfnoc_graph
  make
- gr::uhd::rfnoc_graph
  NULL_ADAPTER_ID
- gr::uhd::rfnoc_graph
  set_clock_source
- gr::uhd::rfnoc_graph
  set_streamer_adapter_id
- gr::uhd::rfnoc_graph
  set_time_source
- gr::uhd::rfnoc_graph
  sptr
- gr::uhd::rfnoc_graph
  ~rfnoc_graph