summaryrefslogtreecommitdiff
path: root/grc/python/flow_graph.tmpl
diff options
context:
space:
mode:
authorJosh Blum2009-08-13 23:59:06 -0700
committerJosh Blum2009-08-13 23:59:06 -0700
commit0a73facce3ce4eba23676df5f22f222df319ed87 (patch)
treeff71a877a13fc4265253873542a0c24c9c0e180e /grc/python/flow_graph.tmpl
parent0af1c2c7ab2ac28c9518c9348f8245326bd7ac46 (diff)
downloadgnuradio-0a73facce3ce4eba23676df5f22f222df319ed87.tar.gz
gnuradio-0a73facce3ce4eba23676df5f22f222df319ed87.tar.bz2
gnuradio-0a73facce3ce4eba23676df5f22f222df319ed87.zip
this time commit the file changes
Diffstat (limited to 'grc/python/flow_graph.tmpl')
-rw-r--r--grc/python/flow_graph.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index b537c43e2..df346dd16 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -10,6 +10,7 @@
##@param parameters the paramater blocks
##@param blocks the signal blocks
##@param connections the connections
+##@param messages the msg type connections
##@param generate_options the type of flow graph
##@param var_id2cbs variable id map to callback strings
########################################################
@@ -125,6 +126,18 @@ class $(class_name)(gr.hier_block2):
$indent($ctrl.get_make())
#end for
########################################################
+##Create Message Queues
+########################################################
+#if $messages
+
+ $DIVIDER
+ # Message Queues
+ $DIVIDER
+#end if
+#for $msg in $messages
+ $(msg.get_source().get_parent().get_id())_msgq = $(msg.get_sink().get_parent().get_id())_msgq = gr.msg_queue(2)
+#end for
+########################################################
##Create Blocks
########################################################
#if $blocks