#include <uhd/rfnoc/mock_block.hpp>
Public Member Functions | |
template<typename block_type = noc_block_base> | |
std::shared_ptr< block_type > | get_block () |
Use this to retrieve a reference to the block controller. Make sure that. More... | |
Public Attributes | |
std::shared_ptr< mock_reg_iface_t > | reg_iface |
Reference to the register interface object. More... | |
uhd::property_tree::sptr | tree |
Reference to the prop tree object the block sees. More... | |
std::function< noc_block_base::sptr(noc_block_base::make_args_ptr)> | factory |
Factory to get the block. Use get_block() instead. More... | |
noc_block_base::make_args_ptr | make_args |
Friends | |
class | get_mock_block |
Container for all the items required for running a mock block
|
inline |
Use this to retrieve a reference to the block controller. Make sure that.
|
friend |
std::function<noc_block_base::sptr(noc_block_base::make_args_ptr)> uhd::rfnoc::mock_block_container::factory |
Factory to get the block. Use get_block() instead.
noc_block_base::make_args_ptr uhd::rfnoc::mock_block_container::make_args |
std::shared_ptr<mock_reg_iface_t> uhd::rfnoc::mock_block_container::reg_iface |
Reference to the register interface object.
uhd::property_tree::sptr uhd::rfnoc::mock_block_container::tree |
Reference to the prop tree object the block sees.