From da89292f211fab421e5200f4831507ab5a4965a1 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 20 Jun 2019 14:30:55 -0700 Subject: rfnoc: graph: Initialize properties on all nodes during init This will call init_props() on every block after the device initialization is complete, but before control returns to the user. --- host/lib/include/uhdlib/rfnoc/block_container.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/include') diff --git a/host/lib/include/uhdlib/rfnoc/block_container.hpp b/host/lib/include/uhdlib/rfnoc/block_container.hpp index b43a7bc61..3c75892a4 100644 --- a/host/lib/include/uhdlib/rfnoc/block_container.hpp +++ b/host/lib/include/uhdlib/rfnoc/block_container.hpp @@ -43,6 +43,10 @@ public: */ noc_block_base::sptr get_block(const block_id_t& block_id) const; + /*! Initialize properties on all registered blocks + */ + void init_props(); + /*! Call shutdown() on all blocks * * After calling this, blocks won't be able to do anything anymore! -- cgit v1.2.3