summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/flat_flowgraph.h
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2015-11-30 18:05:37 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2015-12-08 11:12:27 -0800
commitb0a992ab2049d074587c24e5d79f29b4662b4485 (patch)
tree61eb18f1a690ce64a1f8f58507171cf26760e80e /gnuradio-runtime/lib/flat_flowgraph.h
parentbf6d4e2a8abf32e49a923f361162584b32e7afec (diff)
runtime: fix hierarchical block message port flattening/GRC usage
Diffstat (limited to 'gnuradio-runtime/lib/flat_flowgraph.h')
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/flat_flowgraph.h b/gnuradio-runtime/lib/flat_flowgraph.h
index d0b3a3ae64..5db38b9dae 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.h
+++ b/gnuradio-runtime/lib/flat_flowgraph.h
@@ -66,10 +66,22 @@ namespace gr {
*/
static block_vector_t make_block_vector(basic_block_vector_t &blocks);
+ /*!
+ * replace hierarchical message connections with internal primitive ones
+ */
void replace_endpoint(const msg_endpoint &e, const msg_endpoint &r, bool is_src);
+
+ /*!
+ * remove a specific hier message connection after replacement
+ */
void clear_endpoint(const msg_endpoint &e, bool is_src);
/*!
+ * remove remainin hier message connections (non primitive)
+ */
+ void clear_hier();
+
+ /*!
* Enables export of perf. counters to ControlPort on all blocks in
* the flowgraph.
*/