13 namespace uhd {
namespace rfnoc {
34 const size_t dst_port_,
37 : src_port(src_port_), dst_port(dst_port_), edge(edge_), is_forward_edge(fwd_edge)
53 bool is_forward_edge =
true;
59 return is_equal(rhs,
true);
73 return (std::tie(src_blockid, src_port, dst_blockid, dst_port)
76 && (match_properties ? (std::tie(edge, is_forward_edge)
84 return src_blockid +
":" + std::to_string(src_port)
85 + (edge == STATIC ?
"==>" :
"-->") + dst_blockid +
":" 86 + std::to_string(dst_port);
A connection from an FPGA block to a software RX streamer.
Definition: graph_edge.hpp:27
edge_t
Definition: graph_edge.hpp:24
bool is_equal(const graph_edge_t &rhs, const bool match_properties=false) const
Definition: graph_edge.hpp:71
bool operator==(const graph_edge_t &rhs) const
Equality operator: Compare two edges if they match, including edge.
Definition: graph_edge.hpp:57
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
A static connection between two blocks in the FPGA.
Definition: graph_edge.hpp:25
Definition: build_info.hpp:12
edge_t edge
The type of edge.
Definition: graph_edge.hpp:50
bool is_forward_edge
When false, the framework will assume this is a back-edge. Back-edges.
Definition: graph_edge.hpp:53
std::string src_blockid
The ID of the source block for this edge.
Definition: graph_edge.hpp:42
std::string to_string() const
Return a string representation of the connection.
Definition: graph_edge.hpp:82
#define UHD_API
Definition: config.h:87
Definition: graph_edge.hpp:22
size_t src_port
The port number of the source block for this edge.
Definition: graph_edge.hpp:44
size_t dst_port
The port number of the destination block for this edge.
Definition: graph_edge.hpp:48
A user (dynamic) connection between two blocks in the FPGA.
Definition: graph_edge.hpp:26
std::string dst_blockid
The ID of the destination block for this edge.
Definition: graph_edge.hpp:46