aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-02 12:16:41 -0700
committerJosh Blum <josh@joshknows.com>2010-05-02 12:16:41 -0700
commit4a19b43176fe3402d5aefd588d2bf6446877de18 (patch)
tree1fe26f3ca7f51e58b8f4724e06533a356f03628e /host/include
parent99d55ca11eb67cbbec72660d10a94ea0e9c50f39 (diff)
downloaduhd-4a19b43176fe3402d5aefd588d2bf6446877de18.tar.gz
uhd-4a19b43176fe3402d5aefd588d2bf6446877de18.tar.bz2
uhd-4a19b43176fe3402d5aefd588d2bf6446877de18.zip
Cleaned up some dboard manager construction logic.
Moved the dboard base private stuff into a forward declaration.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard_base.hpp13
1 files changed, 7 insertions, 6 deletions
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<dboard_base> 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<std::string, dboard_iface::sptr, dboard_id_t, dboard_id_t> 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;
};
/*!