From a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 3 Sep 2012 00:05:21 -0700 Subject: top and hier block brought into python --- include/gnuradio/element.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/gnuradio/element.hpp') 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 weak_self = elem; } + //! Get the derived class as an element + const Element &get_base(void) const; + //! for internal use only boost::weak_ptr weak_self; -- cgit