USRP Hardware Driver and USRP Manual  Version: 004.000.000.HEAD-0-g8773fb2c
UHD and USRP Manual
uhd::rfnoc::graph Class Referenceabstract

#include <uhd/rfnoc/graph.hpp>

Inheritance diagram for uhd::rfnoc::graph:

Public Types

typedef boost::shared_ptr< uhd::rfnoc::graphsptr
 

Public Member Functions

virtual void connect (const block_id_t &src_block, size_t src_block_port, const block_id_t &dst_block, size_t dst_block_port, const size_t pkt_size=0)=0
 
virtual void connect (const block_id_t &src_block, const block_id_t &dst_block)=0
 
virtual std::string get_name () const =0
 

Member Typedef Documentation

◆ sptr

typedef boost::shared_ptr<uhd::rfnoc::graph> uhd::rfnoc::graph::sptr

Member Function Documentation

◆ connect() [1/2]

virtual void uhd::rfnoc::graph::connect ( const block_id_t src_block,
size_t  src_block_port,
const block_id_t dst_block,
size_t  dst_block_port,
const size_t  pkt_size = 0 
)
pure virtual

Connect a RFNOC block with block ID src_block to another with block ID dst_block.

This will:

  • Check if this connection is valid (IO signatures, see if types match)
  • Configure the flow control for the blocks
  • Configure SID for the upstream block
  • Register the upstream block in the downstream block

◆ connect() [2/2]

virtual void uhd::rfnoc::graph::connect ( const block_id_t src_block,
const block_id_t dst_block 
)
pure virtual

Shorthand for connect().

Using default ports for both source and destination.

◆ get_name()

virtual std::string uhd::rfnoc::graph::get_name ( ) const
pure virtual

The documentation for this class was generated from the following file: