From 57635b69e165b01ababfa064c5f0ccf405582f31 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Tue, 21 Dec 2021 12:05:26 -0600 Subject: host: Make get_mb_controller public --- host/include/uhd/rfnoc/noc_block_base.hpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/noc_block_base.hpp b/host/include/uhd/rfnoc/noc_block_base.hpp index 21135227b..b9ebda63b 100644 --- a/host/include/uhd/rfnoc/noc_block_base.hpp +++ b/host/include/uhd/rfnoc/noc_block_base.hpp @@ -195,6 +195,19 @@ public: return _tree; } + /*! Get access to the motherboard controller for this block's motherboard + * + * This will return a nullptr if this block doesn't have access to the + * motherboard. In order to gain access to the motherboard, the block needs + * to have requested access to the motherboard during the registration + * procedure. See also registry.hpp. + * + * Even if this block requested access to the motherboard controller, there + * is no guarantee that UHD will honour that request. It is therefore + * important to verify that the returned pointer is valid. + */ + std::shared_ptr get_mb_controller(); + protected: noc_block_base(make_args_ptr make_args); @@ -278,19 +291,6 @@ protected: */ property_base_t* get_mtu_prop_ref(const res_source_info& edge); - /*! Get access to the motherboard controller for this block's motherboard - * - * This will return a nullptr if this block doesn't have access to the - * motherboard. In order to gain access to the motherboard, the block needs - * to have requested access to the motherboard during the registration - * procedure. See also registry.hpp. - * - * Even if this block requested access to the motherboard controller, there - * is no guarantee that UHD will honour that request. It is therefore - * important to verify that the returned pointer is valid. - */ - std::shared_ptr get_mb_controller(); - /*! Safely de-initialize the block * * This function is called by the framework when the RFNoC session is about -- cgit v1.2.3