Public Member Functions |
| ~gr_flowgraph () |
void | connect (const gr_endpoint &src, const gr_endpoint &dst) |
void | disconnect (const gr_endpoint &src, const gr_endpoint &dst) |
void | connect (gr_basic_block_sptr src_block, int src_port, gr_basic_block_sptr dst_block, int dst_port) |
void | disconnect (gr_basic_block_sptr src_block, int src_port, gr_basic_block_sptr dst_block, int dst_port) |
void | connect (const gr_msg_endpoint &src, const gr_msg_endpoint &dst) |
void | disconnect (const gr_msg_endpoint &src, const gr_msg_endpoint &dst) |
void | validate () |
void | clear () |
const gr_edge_vector_t & | edges () const |
const gr_msg_edge_vector_t & | msg_edges () const |
gr_basic_block_vector_t | calc_used_blocks () |
gr_basic_block_vector_t | topological_sort (gr_basic_block_vector_t &blocks) |
std::vector
< gr_basic_block_vector_t > | partition () |
Protected Member Functions |
| gr_flowgraph () |
std::vector< int > | calc_used_ports (gr_basic_block_sptr block, bool check_inputs) |
gr_basic_block_vector_t | calc_downstream_blocks (gr_basic_block_sptr block, int port) |
gr_edge_vector_t | calc_upstream_edges (gr_basic_block_sptr block) |
bool | has_block_p (gr_basic_block_sptr block) |
gr_edge | calc_upstream_edge (gr_basic_block_sptr block, int port) |
Protected Attributes |
gr_basic_block_vector_t | d_blocks |
gr_edge_vector_t | d_edges |
gr_msg_edge_vector_t | d_msg_edges |
Friends |
GR_CORE_API gr_flowgraph_sptr | gr_make_flowgraph () |
Class representing a directed, acyclic graph of basic blocks.