From defcb174ebb274d4621a2b958a78ed6cb6cd6aed Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 29 Jan 2020 11:44:05 -0800 Subject: multi_usrp: Add get_tree() API call This allows access to the underlying property tree without having to refer to the device object. Useful for RFNoC objects, where the device object is not accessible. --- host/lib/usrp/multi_usrp_rfnoc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/usrp/multi_usrp_rfnoc.cpp') diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp index b2070c53d..b34860989 100644 --- a/host/lib/usrp/multi_usrp_rfnoc.cpp +++ b/host/lib/usrp/multi_usrp_rfnoc.cpp @@ -161,6 +161,11 @@ public: return nullptr; } + uhd::property_tree::sptr get_tree() const + { + return _tree; + } + rx_streamer::sptr get_rx_stream(const stream_args_t& args_) { std::lock_guard l(_graph_mutex); -- cgit v1.2.3