aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mboard/usrp2.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-18 15:30:34 -0800
committerJosh Blum <josh@joshknows.com>2010-02-18 15:30:34 -0800
commitb4e5df4080b276ff1bf7cf896bd60630cdaab652 (patch)
treee95043c7812fb5113cfd44f97b69f0100ac29cec /host/lib/usrp/mboard/usrp2.cpp
parentf439fe8218b05a67148332ffefd2053ba3c0c19d (diff)
downloaduhd-b4e5df4080b276ff1bf7cf896bd60630cdaab652.tar.gz
uhd-b4e5df4080b276ff1bf7cf896bd60630cdaab652.tar.bz2
uhd-b4e5df4080b276ff1bf7cf896bd60630cdaab652.zip
Flattened the usrp2 impl properties guts.
Created init methods for various sub-parts. Added the ddc control (still needs update transaction).
Diffstat (limited to 'host/lib/usrp/mboard/usrp2.cpp')
-rw-r--r--host/lib/usrp/mboard/usrp2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/mboard/usrp2.cpp b/host/lib/usrp/mboard/usrp2.cpp
index 92f4daa49..f79ae851b 100644
--- a/host/lib/usrp/mboard/usrp2.cpp
+++ b/host/lib/usrp/mboard/usrp2.cpp
@@ -22,7 +22,7 @@
#include <boost/format.hpp>
#include <boost/thread.hpp>
#include <netinet/in.h>
-#include "usrp2/impl_base.hpp"
+#include "usrp2/usrp2_impl.hpp"
using namespace uhd::usrp::mboard;
@@ -92,8 +92,8 @@ usrp2::usrp2(const device_addr_t &device_addr){
);
//create the usrp2 implementation guts
- _impl = impl_base::sptr(
- new impl_base(ctrl_transport, data_transport)
+ _impl = usrp2_impl::sptr(
+ new usrp2_impl(ctrl_transport, data_transport)
);
}
@@ -105,12 +105,12 @@ usrp2::~usrp2(void){
* Get Properties
**********************************************************************/
void usrp2::get(const wax::obj &key, wax::obj &val){
- return wax::cast<impl_base::sptr>(_impl)->get(key, val);
+ return wax::cast<usrp2_impl::sptr>(_impl)->get(key, val);
}
/***********************************************************************
* Set Properties
**********************************************************************/
void usrp2::set(const wax::obj &key, const wax::obj &val){
- return wax::cast<impl_base::sptr>(_impl)->set(key, val);
+ return wax::cast<usrp2_impl::sptr>(_impl)->set(key, val);
}