#include <uhd/rfnoc/graph_edge.hpp>
Public Types | |
enum | edge_t { STATIC, DYNAMIC, RX_STREAM, TX_STREAM } |
Public Member Functions | |
graph_edge_t ()=default | |
graph_edge_t (const size_t src_port_, const size_t dst_port_, const edge_t edge_, const bool fwd_edge) | |
bool | operator== (const graph_edge_t &rhs) const |
std::string | to_string () const |
Return a string representation of the connection. More... | |
Public Attributes | |
std::string | src_blockid |
The ID of the source block for this edge. More... | |
size_t | src_port = 0 |
The port number of the source block for this edge. More... | |
std::string | dst_blockid |
The ID of the destination block for this edge. More... | |
size_t | dst_port = 0 |
The port number of the destination block for this edge. More... | |
edge_t | edge = DYNAMIC |
The type of edge. More... | |
bool | is_forward_edge = true |
When false, the framework will assume this is a back-edge. Back-edges. More... | |
A container that holds information about a graph edge
Note: The source and destination IDs are strings, not block IDs (uhd::rfnoc::block_id_t). This is because the graph can contain edges that are not between RFNoC blocks (e.g., to a streamer), and we need to be able to generically express node IDs.
|
default |
|
inline |
|
inline |
|
inline |
Return a string representation of the connection.
std::string uhd::rfnoc::graph_edge_t::dst_blockid |
The ID of the destination block for this edge.
size_t uhd::rfnoc::graph_edge_t::dst_port = 0 |
The port number of the destination block for this edge.
bool uhd::rfnoc::graph_edge_t::is_forward_edge = true |
When false, the framework will assume this is a back-edge. Back-edges.
std::string uhd::rfnoc::graph_edge_t::src_blockid |
The ID of the source block for this edge.
size_t uhd::rfnoc::graph_edge_t::src_port = 0 |
The port number of the source block for this edge.