diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-12 14:43:43 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-12 14:43:43 -0800 |
commit | cbb8e474bb5592753a340ba31d3afbab7226f7c6 (patch) | |
tree | 6dd14d37d8d46f3a506a309f57d82ed1ed05f781 /usrp_uhd/include/usrp_uhd.hpp | |
parent | 4e94574aeaa46c671bba0a6fc83cb967d228c880 (diff) | |
download | uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.tar.gz uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.tar.bz2 uhd-cbb8e474bb5592753a340ba31d3afbab7226f7c6.zip |
Reorganized structure into include, lib, test, firmware, fpga.
The fpga and firmware are empty placeholders for now.
Diffstat (limited to 'usrp_uhd/include/usrp_uhd.hpp')
-rw-r--r-- | usrp_uhd/include/usrp_uhd.hpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/usrp_uhd/include/usrp_uhd.hpp b/usrp_uhd/include/usrp_uhd.hpp deleted file mode 100644 index 6bf97a5a4..000000000 --- a/usrp_uhd/include/usrp_uhd.hpp +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright 2010 Ettus Research LLC -// - -#ifndef INCLUDED_USRP_UHD_HPP -#define INCLUDED_USRP_UHD_HPP - -#include <usrp_uhd/usrp_addr.hpp> -#include <usrp_uhd/wax.hpp> -#include <boost/shared_ptr.hpp> -#include <boost/function.hpp> -#include <vector> -#include <sys/uio.h> - -namespace usrp{ - - class uhd{ - - public: - typedef boost::shared_ptr<uhd> sptr; - typedef boost::function<bool(void *data, size_t len)> recv_hdlr_t; - uhd(usrp_addr_t usrp_addr); - ~uhd(void); - - //the io interface - void send(const std::vector<iovec> &iovs); - void send(void* data, size_t len); //wrapper - void recv(const recv_hdlr_t &recv_hdlr); - void recv(void* &data, size_t &len); //wrapper - - //connect dsps and subdevs - void connect(const wax::type &src, const wax::type &sink); - - //the properties interface - wax::proxy props(void); - - private: - wax::type d_mboard; - }; - -} //namespace usrp - -#endif /* INCLUDED_USRP_UHD_HPP */ |