aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-06-20 14:30:55 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:28 -0800
commitda89292f211fab421e5200f4831507ab5a4965a1 (patch)
tree14c8bf8bb3b2a4eef33b56993ad0bb150015247b /host/lib/include
parent58cecd867bd9f061b0b0072bb3338372498e1be3 (diff)
downloaduhd-da89292f211fab421e5200f4831507ab5a4965a1.tar.gz
uhd-da89292f211fab421e5200f4831507ab5a4965a1.tar.bz2
uhd-da89292f211fab421e5200f4831507ab5a4965a1.zip
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.
Diffstat (limited to 'host/lib/include')
-rw-r--r--host/lib/include/uhdlib/rfnoc/block_container.hpp4
1 files changed, 4 insertions, 0 deletions
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!