diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/rfnoc/noc_block_base.hpp | 26 |
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 |