|
virtual | ~rfnoc_graph () |
|
virtual void | 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 two blocks, or a block to a streamer, or a streamer to a block. More...
|
|
virtual void | connect (const std::string &src_block, const std::string &dst_block, const bool is_back_edge=false)=0 |
| Convenience overload: Defaults to port 0 on both blocks. More...
|
|
virtual ::uhd::rx_streamer::sptr | create_rx_streamer (const size_t num_ports, const ::uhd::stream_args_t &args)=0 |
| Create an RX streamer. More...
|
|
virtual ::uhd::tx_streamer::sptr | create_tx_streamer (const size_t num_ports, const ::uhd::stream_args_t &args)=0 |
| Create a TX streamer. More...
|
|
virtual void | set_streamer_adapter_id (const std::string &stream_block_id, const size_t port, const size_t adapter_id)=0 |
| Set the desired adapter ID for a streamer connection. More...
|
|
virtual void | commit ()=0 |
| Commit the graph and run initial checks. More...
|
|
virtual std::string | get_block_id (const std::string &block_name, const int device_select, const int block_select)=0 |
|
virtual void | set_time_source (const std::string &source, const size_t mb_index)=0 |
| Set time source on the specified motherboard. More...
|
|
virtual void | set_clock_source (const std::string &source, const size_t mb_index)=0 |
| Set clock source on the specified motherboard. More...
|
|
virtual ::uhd::rfnoc::noc_block_base::sptr | get_block_ref (const std::string &block_id, const size_t max_ref_count)=0 |
| Return a reference to the block with a given block ID. More...
|
|
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.
virtual std::string gr::uhd::rfnoc_graph::get_block_id |
( |
const std::string & |
block_name, |
|
|
const int |
device_select, |
|
|
const int |
block_select |
|
) |
| |
|
pure virtual |
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.