aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-06-07 21:29:34 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:27 -0800
commit491a74269e7d7d7589119c22f229c994d8a2c3f8 (patch)
tree299c1ea5f1a88266ff42aa8007bf6bc75665dfc9 /host/include
parent51742c90911ecd10ca8abfddaa851b510a4a5aa7 (diff)
downloaduhd-491a74269e7d7d7589119c22f229c994d8a2c3f8.tar.gz
uhd-491a74269e7d7d7589119c22f229c994d8a2c3f8.tar.bz2
uhd-491a74269e7d7d7589119c22f229c994d8a2c3f8.zip
rfnoc: register_iface_holder: Add ability to invalidate and update
This lets child classes of register_iface_holder change the register interface, or even invalidate it.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/register_iface_holder.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/register_iface_holder.hpp b/host/include/uhd/rfnoc/register_iface_holder.hpp
index 453b0cf10..e6eafc736 100644
--- a/host/include/uhd/rfnoc/register_iface_holder.hpp
+++ b/host/include/uhd/rfnoc/register_iface_holder.hpp
@@ -31,6 +31,9 @@ public:
return *(_reg.get());
};
+protected:
+ void update_reg_iface(register_iface::sptr new_iface = nullptr);
+
private:
register_iface::sptr _reg;
};