diff options
author | Josh Blum | 2009-08-28 18:15:49 -0700 |
---|---|---|
committer | Josh Blum | 2009-08-28 18:15:49 -0700 |
commit | cadc9548afb7b4a385cea51f48745f0a1c702607 (patch) | |
tree | d5f14ba1cf7f680ce81f28a569ba6eb7ec1c6ca6 /grc/python/flow_graph.tmpl | |
parent | 36d1520f0ac73b64bd0541b422552a6d419c7ffd (diff) | |
download | gnuradio-cadc9548afb7b4a385cea51f48745f0a1c702607.tar.gz gnuradio-cadc9548afb7b4a385cea51f48745f0a1c702607.tar.bz2 gnuradio-cadc9548afb7b4a385cea51f48745f0a1c702607.zip |
Recursive resolution of virtual sources.
Flow graph generation code working.
Also, mod to fft window to use clean/nice Db/div.
Diffstat (limited to 'grc/python/flow_graph.tmpl')
-rw-r--r-- | grc/python/flow_graph.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index 5e5844052..bd12e82e9 100644 --- a/grc/python/flow_graph.tmpl +++ b/grc/python/flow_graph.tmpl @@ -170,7 +170,14 @@ self.$port.get_parent().get_id()#slurp #for $con in $connections #set $source = $con.get_source() #set $sink = $con.get_sink() + ##resolve virtual sources to the actual sources + #if $source.is_virtual_source() + #set $source = $source.resolve_virtual_source() + #end if + ##do not generate connections with virtual sinks + #if not $sink.is_virtual_sink() self.connect(($make_port_name($source), $source.get_key()), ($make_port_name($sink), $sink.get_key())) + #end if #end for ######################################################## |