diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-07-27 17:46:08 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-07-27 17:46:08 -0700 |
commit | 41a36699e6e5f892a19586cde1b72fa6767c2888 (patch) | |
tree | 95c5cfaffa48391bee95744bddc91e142c898272 /host/lib | |
parent | c08674e26bfb456242efd90b5c7d32b8d6179c64 (diff) | |
download | uhd-41a36699e6e5f892a19586cde1b72fa6767c2888.tar.gz uhd-41a36699e6e5f892a19586cde1b72fa6767c2888.tar.bz2 uhd-41a36699e6e5f892a19586cde1b72fa6767c2888.zip |
Interface access methods for users to access dboards.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/simple_usrp.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp index 704232782..a8c20c439 100644 --- a/host/lib/usrp/simple_usrp.cpp +++ b/host/lib/usrp/simple_usrp.cpp @@ -228,6 +228,18 @@ public: return _tx_subdev[SUBDEV_PROP_LO_LOCKED].as<bool>(); } + /******************************************************************* + * Interface access methods + ******************************************************************/ + + wax::obj get_rx_dboard_iface(void) { + return _rx_dboard; + } + + wax::obj get_tx_dboard_iface(void) { + return _tx_dboard; + } + private: device::sptr _dev; wax::obj _mboard; |