summaryrefslogtreecommitdiff
path: root/grc/python/Port.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-06-24 16:06:38 -0400
committerTom Rondeau <trondeau@vt.edu>2012-06-24 16:06:38 -0400
commitd97764ce6040aff8023b43323b4bc048a907a1fd (patch)
treedda4ba74128454fd271ffe7dcbe673f2ae0b4c08 /grc/python/Port.py
parentb142f64573b8b7b15a94fc9c64e2f26264a5b144 (diff)
parentbf8700a226091c5ce0130a3819a4c12b9d9981a6 (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.py4
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: