From 4a19b43176fe3402d5aefd588d2bf6446877de18 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 2 May 2010 12:16:41 -0700 Subject: Cleaned up some dboard manager construction logic. Moved the dboard base private stuff into a forward declaration. --- host/include/uhd/usrp/dboard_base.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/usrp/dboard_base.hpp b/host/include/uhd/usrp/dboard_base.hpp index 2025760ee..c88657b12 100644 --- a/host/include/uhd/usrp/dboard_base.hpp +++ b/host/include/uhd/usrp/dboard_base.hpp @@ -35,9 +35,11 @@ namespace uhd{ namespace usrp{ class UHD_API dboard_base : boost::noncopyable{ public: typedef boost::shared_ptr sptr; - //the constructor args consist of a subdev name, interface, and ids - //derived classes should pass the args into the dboard_base class ctor - //but should not have to deal with the internals of the args + /*! + * The constructor args consist of a subdev name, interface, and ids. + * Derived classes should pass the args into the dboard_base class ctor + * but should not have to deal with the internals of the args. + */ typedef boost::tuple ctor_args_t; //structors @@ -57,9 +59,8 @@ protected: dboard_id_t get_tx_id(void); private: - std::string _subdev_name; - dboard_iface::sptr _dboard_iface; - dboard_id_t _rx_id, _tx_id; + struct dboard_base_impl; + dboard_base_impl *_impl; }; /*! -- cgit v1.2.3