From f360059b99d4ae11e5279b8999364ec1fe2997a3 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Thu, 28 Jul 2016 18:14:20 -0700 Subject: dboard manager: Allow deferring dboard initialization --- host/include/uhd/usrp/dboard_manager.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/usrp/dboard_manager.hpp b/host/include/uhd/usrp/dboard_manager.hpp index 4ce943972..85fa65e81 100644 --- a/host/include/uhd/usrp/dboard_manager.hpp +++ b/host/include/uhd/usrp/dboard_manager.hpp @@ -124,6 +124,7 @@ public: * \param gdboard_id the id of the grand-dboard * \param iface the custom dboard interface * \param subtree the subtree to load with props + * \param bool defer initialising the daughterboards * \return an sptr to the new dboard manager */ static sptr make( @@ -131,11 +132,17 @@ public: dboard_id_t tx_dboard_id, dboard_id_t gdboard_id, dboard_iface::sptr iface, - property_tree::sptr subtree + property_tree::sptr subtree, + bool defer_db_init = false ); virtual ~dboard_manager() {} + /*! + * Run dboard post constructor initializations if defered during make + */ + virtual void initialize_dboards() = 0; + /*! * Returns a vector of RX frontend (subdev) names * \return a vector of names -- cgit v1.2.3