summaryrefslogtreecommitdiff
path: root/include/gnuradio/element.hpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-03 00:05:21 -0700
committerJosh Blum2012-09-03 00:05:21 -0700
commita85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb (patch)
tree4d44ecad3b7493e2e88f1c8f7e1fa5753769d7fc /include/gnuradio/element.hpp
parent31a786ff101ef66cf9a344df0efc3cb01db59da5 (diff)
downloadsandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.tar.gz
sandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.tar.bz2
sandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.zip
top and hier block brought into python
Diffstat (limited to 'include/gnuradio/element.hpp')
-rw-r--r--include/gnuradio/element.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gnuradio/element.hpp b/include/gnuradio/element.hpp
index 4907467..51c79b8 100644
--- a/include/gnuradio/element.hpp
+++ b/include/gnuradio/element.hpp
@@ -51,6 +51,9 @@ struct GR_RUNTIME_API Element : boost::shared_ptr<ElementImpl>
weak_self = elem;
}
+ //! Get the derived class as an element
+ const Element &get_base(void) const;
+
//! for internal use only
boost::weak_ptr<Element> weak_self;