diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-12 17:31:25 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-12 17:31:25 -0800 |
commit | 24d95c3f2cea168d1d314af29839d88cc16d3c7f (patch) | |
tree | 41163be6e0f284f03dc8e08c48c030a7141826d9 /lib/usrp/dboard/dboards.hpp | |
parent | 8fdffd2f77016fe95f4a78e16d2d728b650b4d05 (diff) | |
download | uhd-24d95c3f2cea168d1d314af29839d88cc16d3c7f.tar.gz uhd-24d95c3f2cea168d1d314af29839d88cc16d3c7f.tar.bz2 uhd-24d95c3f2cea168d1d314af29839d88cc16d3c7f.zip |
Added the basic rx and tx skeleton wrapper.
Made autotools mods so it passes distcheck.
Diffstat (limited to 'lib/usrp/dboard/dboards.hpp')
-rw-r--r-- | lib/usrp/dboard/dboards.hpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/usrp/dboard/dboards.hpp b/lib/usrp/dboard/dboards.hpp new file mode 100644 index 000000000..0a54ec948 --- /dev/null +++ b/lib/usrp/dboard/dboards.hpp @@ -0,0 +1,34 @@ +// +// Copyright 2010 Ettus Research LLC +// + +#ifndef INCLUDED_LOCAL_DBOARDS_HPP +#define INCLUDED_LOCAL_DBOARDS_HPP + +#include <usrp_uhd/usrp/dboard/base.hpp> + +using namespace usrp_uhd::usrp::dboard; + +/*********************************************************************** + * The basic boards: + **********************************************************************/ +class basic_rx : public rx_base{ +public: + basic_rx(size_t subdev_index, interface::sptr dboard_interface); + ~basic_rx(void); + + void rx_get(const wax::type &key, wax::type &val); + void rx_set(const wax::type &key, const wax::type &val); +}; + +class basic_tx : public tx_base{ +public: + basic_tx(size_t subdev_index, interface::sptr dboard_interface); + ~basic_tx(void); + + void tx_get(const wax::type &key, wax::type &val); + void tx_set(const wax::type &key, const wax::type &val); + +}; + +#endif /* INCLUDED_LOCAL_DBOARDS_HPP */ |