aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2021-12-21 12:05:26 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-11 13:30:27 -0600
commit57635b69e165b01ababfa064c5f0ccf405582f31 (patch)
tree87db3f380d65014006d251b405043bd6e3a58647 /host
parent9cbe2f4dcc152ffda15ffd0de710bb3edf057541 (diff)
downloaduhd-57635b69e165b01ababfa064c5f0ccf405582f31.tar.gz
uhd-57635b69e165b01ababfa064c5f0ccf405582f31.tar.bz2
uhd-57635b69e165b01ababfa064c5f0ccf405582f31.zip
host: Make get_mb_controller public
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/rfnoc/noc_block_base.hpp26
1 files changed, 13 insertions, 13 deletions
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<mb_controller> 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<mb_controller> get_mb_controller();
-
/*! Safely de-initialize the block
*
* This function is called by the framework when the RFNoC session is about