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/include/uhd/usrp/multi_usrp.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index 3e2cf0a47..f6a68ef3e 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -127,6 +127,10 @@ public: */ virtual device::sptr get_device(void) = 0; + /*! Return a reference to the property tree + */ + virtual uhd::property_tree::sptr get_tree(void) const = 0; + //! Convenience method to get a RX streamer. See also uhd::device::get_rx_stream(). virtual rx_streamer::sptr get_rx_stream(const stream_args_t& args) = 0; -- cgit v1.2.3