diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-06-24 16:06:38 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-06-24 16:06:38 -0400 |
commit | d97764ce6040aff8023b43323b4bc048a907a1fd (patch) | |
tree | dda4ba74128454fd271ffe7dcbe673f2ae0b4c08 /grc/python/Port.py | |
parent | b142f64573b8b7b15a94fc9c64e2f26264a5b144 (diff) | |
parent | bf8700a226091c5ce0130a3819a4c12b9d9981a6 (diff) |
Merge branch 'master' into my_qtsink
Conflicts:
gr-qtgui/include/qtgui_sink_c.h
gr-qtgui/include/qtgui_sink_f.h
gr-qtgui/include/qtgui_util.h
gr-qtgui/lib/ConstellationDisplayPlot.cc
gr-qtgui/lib/FrequencyDisplayPlot.cc
gr-qtgui/lib/SpectrumGUIClass.cc
gr-qtgui/lib/TimeDomainDisplayPlot.cc
gr-qtgui/lib/WaterfallDisplayPlot.cc
gr-qtgui/lib/qtgui_sink_c.cc
gr-qtgui/lib/qtgui_sink_f.cc
gr-qtgui/lib/spectrumdisplayform.cc
Diffstat (limited to 'grc/python/Port.py')
-rw-r--r-- | grc/python/Port.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grc/python/Port.py b/grc/python/Port.py index d0ef51b483..9f8b50d052 100644 --- a/grc/python/Port.py +++ b/grc/python/Port.py @@ -139,6 +139,10 @@ class Port(_Port, _GUIPort): self._type = '' self._vlen = '' + def resolve_virtual_source(self): + if self.get_parent().is_virtual_sink(): return _get_source_from_virtual_sink_port(self) + if self.get_parent().is_virtual_source(): return _get_source_from_virtual_source_port(self) + def resolve_empty_type(self): if self.is_sink(): try: |