diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-01 12:35:34 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-01 12:35:34 -0800 |
commit | cc8caeb1230fbaed4a6bc64848a584d51b69362a (patch) | |
tree | 086264364fe1d9d1f790a077cd7d9f3219cc369a /lib/usrp/dboard/base.cpp | |
parent | 5e455ca92280e3c22f5484cb81a2aef0cdfb5de4 (diff) | |
download | uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.tar.gz uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.tar.bz2 uhd-cc8caeb1230fbaed4a6bc64848a584d51b69362a.zip |
Work on the properties framwork with wax::obj.
Now the obj handles all 3 things in 1, properties, polymorphic container, proxy.
Diffstat (limited to 'lib/usrp/dboard/base.cpp')
-rw-r--r-- | lib/usrp/dboard/base.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp index 1dd722ed1..18489f3b2 100644 --- a/lib/usrp/dboard/base.cpp +++ b/lib/usrp/dboard/base.cpp @@ -16,6 +16,7 @@ // #include <usrp_uhd/usrp/dboard/base.hpp> +#include <stdexcept> using namespace usrp_uhd::usrp::dboard; @@ -60,11 +61,11 @@ rx_base::~rx_base(void){ /* NOP */ } -void rx_base::tx_get(const wax::type &, wax::type &){ +void rx_base::tx_get(const wax::obj &, wax::obj &){ throw std::runtime_error("cannot call tx_get on a rx dboard"); } -void rx_base::tx_set(const wax::type &, const wax::type &){ +void rx_base::tx_set(const wax::obj &, const wax::obj &){ throw std::runtime_error("cannot call tx_set on a rx dboard"); } @@ -79,10 +80,10 @@ tx_base::~tx_base(void){ /* NOP */ } -void tx_base::rx_get(const wax::type &, wax::type &){ +void tx_base::rx_get(const wax::obj &, wax::obj &){ throw std::runtime_error("cannot call rx_get on a tx dboard"); } -void tx_base::rx_set(const wax::type &, const wax::type &){ +void tx_base::rx_set(const wax::obj &, const wax::obj &){ throw std::runtime_error("cannot call rx_set on a tx dboard"); } |