diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-15 15:45:33 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-15 15:45:33 -0800 |
commit | 92c76e574773e99d1bfb5c3a833217b8644779f4 (patch) | |
tree | 12c80f9acf1c9ac489eddaedb13861e0ab9674b0 /lib/usrp/dboard/dboards.hpp | |
parent | 3b47904f24169904bf65b29091d85ddfc2a7edb4 (diff) | |
download | uhd-92c76e574773e99d1bfb5c3a833217b8644779f4.tar.gz uhd-92c76e574773e99d1bfb5c3a833217b8644779f4.tar.bz2 uhd-92c76e574773e99d1bfb5c3a833217b8644779f4.zip |
Dboard base class that is no longer also the xcvr.
The xcvr base inherits from this (as does rx and tx base).
Added m4 macro to check for compiler flags.
The configure checks flags and headers.
Merged the register subdev static methods into one method
that associates a dboard id with a dboard constructor.
The manager code is responsible for checking this association
and creating the correct subdev instances.
Diffstat (limited to 'lib/usrp/dboard/dboards.hpp')
-rw-r--r-- | lib/usrp/dboard/dboards.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/usrp/dboard/dboards.hpp b/lib/usrp/dboard/dboards.hpp index b46b5f590..7a93286ae 100644 --- a/lib/usrp/dboard/dboards.hpp +++ b/lib/usrp/dboard/dboards.hpp @@ -14,8 +14,8 @@ using namespace usrp_uhd::usrp::dboard; **********************************************************************/ class basic_rx : public rx_base{ public: - static xcvr_base::sptr make(ctor_args_t const& args){ - return xcvr_base::sptr(new basic_rx(args)); + static base::sptr make(ctor_args_t const& args){ + return base::sptr(new basic_rx(args)); } basic_rx(ctor_args_t const& args); ~basic_rx(void); @@ -26,8 +26,8 @@ public: class basic_tx : public tx_base{ public: - static xcvr_base::sptr make(ctor_args_t const& args){ - return xcvr_base::sptr(new basic_tx(args)); + static base::sptr make(ctor_args_t const& args){ + return base::sptr(new basic_tx(args)); } basic_tx(ctor_args_t const& args); ~basic_tx(void); |