GNU Radio 3.6.3 C++ API
gr_flat_flowgraph Class Reference

Class specializing gr_flat_flowgraph that has all nodes as gr_blocks, with no hierarchy. More...

#include <gr_flat_flowgraph.h>

Inheritance diagram for gr_flat_flowgraph:
gr_flowgraph

List of all members.

Public Member Functions

 ~gr_flat_flowgraph ()
void setup_connections ()
void merge_connections (gr_flat_flowgraph_sptr sfg)
void dump ()
void replace_endpoint (const gr_msg_endpoint &e, const gr_msg_endpoint &r, bool is_src)
void clear_endpoint (const gr_msg_endpoint &e, bool is_src)
- Public Member Functions inherited from gr_flowgraph
 ~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_tedges () const
const gr_msg_edge_vector_tmsg_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 ()

Static Public Member Functions

static gr_block_vector_t make_block_vector (gr_basic_block_vector_t &blocks)

Friends

GR_CORE_API gr_flat_flowgraph_sptr gr_make_flat_flowgraph ()

Additional Inherited Members

- Protected Member Functions inherited from gr_flowgraph
 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 inherited from gr_flowgraph
gr_basic_block_vector_t d_blocks
gr_edge_vector_t d_edges
gr_msg_edge_vector_t d_msg_edges

Detailed Description

Class specializing gr_flat_flowgraph that has all nodes as gr_blocks, with no hierarchy.


Constructor & Destructor Documentation

gr_flat_flowgraph::~gr_flat_flowgraph ( )

Member Function Documentation

void gr_flat_flowgraph::clear_endpoint ( const gr_msg_endpoint e,
bool  is_src 
)
void gr_flat_flowgraph::dump ( )
static gr_block_vector_t gr_flat_flowgraph::make_block_vector ( gr_basic_block_vector_t blocks)
static

Make a vector of gr_block from a vector of gr_basic_block

void gr_flat_flowgraph::merge_connections ( gr_flat_flowgraph_sptr  sfg)
void gr_flat_flowgraph::replace_endpoint ( const gr_msg_endpoint e,
const gr_msg_endpoint r,
bool  is_src 
)
void gr_flat_flowgraph::setup_connections ( )

Friends And Related Function Documentation

GR_CORE_API gr_flat_flowgraph_sptr gr_make_flat_flowgraph ( )
friend

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