|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
13 namespace uhd {
namespace rfnoc {
34 const size_t dst_port_,
40 , is_forward_edge(fwd_edge)
56 bool is_forward_edge =
true;
60 return std::tie(src_blockid,
77 return src_blockid +
":" + std::to_string(src_port)
78 + (edge == STATIC ?
"==>" :
"-->") + dst_blockid +
":"
79 + std::to_string(dst_port);
@ DYNAMIC
A user (dynamic) connection between two blocks in the FPGA.
Definition: graph_edge.hpp:26
size_t src_port
The port number of the source block for this edge.
Definition: graph_edge.hpp:47
bool operator==(const graph_edge_t &rhs) const
Definition: graph_edge.hpp:58
bool is_forward_edge
When false, the framework will assume this is a back-edge. Back-edges.
Definition: graph_edge.hpp:56
std::string src_blockid
The ID of the source block for this edge.
Definition: graph_edge.hpp:45
#define UHD_API
Definition: config.h:87
@ RX_STREAM
A connection from an FPGA block to a software RX streamer.
Definition: graph_edge.hpp:27
size_t dst_port
The port number of the destination block for this edge.
Definition: graph_edge.hpp:51
Definition: graph_edge.hpp:22
Definition: build_info.hpp:12
@ STATIC
A static connection between two blocks in the FPGA.
Definition: graph_edge.hpp:25
graph_edge_t(const size_t src_port_, const size_t dst_port_, const edge_t edge_, const bool fwd_edge)
Definition: graph_edge.hpp:33
edge_t
Definition: graph_edge.hpp:24
edge_t edge
The type of edge.
Definition: graph_edge.hpp:53
std::string dst_blockid
The ID of the destination block for this edge.
Definition: graph_edge.hpp:49
std::string to_string() const
Return a string representation of the connection.
Definition: graph_edge.hpp:75