diff options
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 */ |