summaryrefslogtreecommitdiffstats
path: root/include/usrp_uhd/device.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-27 00:19:55 -0800
committerJosh Blum <josh@joshknows.com>2010-01-27 00:19:55 -0800
commitfc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0 (patch)
tree9a926b084f836c6dba9fe8eafe0c583b4c780b5a /include/usrp_uhd/device.hpp
parenta98e387578a3aceb15e2bcce4a9cc54d78c30dda (diff)
downloaduhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.tar.gz
uhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.tar.bz2
uhd-fc1bffcfd9761c1f60cf322bb58e7f9c8096a5c0.zip
Added boost system (needed with asio) and date time (will need for threading/sleeping).
Added to dboard interface to get clock rates. Added OTHERS properties and some documentation type notes. Added more TODOs to the utils.
Diffstat (limited to 'include/usrp_uhd/device.hpp')
-rw-r--r--include/usrp_uhd/device.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/usrp_uhd/device.hpp b/include/usrp_uhd/device.hpp
index 32d58b21f..3ef4a79cf 100644
--- a/include/usrp_uhd/device.hpp
+++ b/include/usrp_uhd/device.hpp
@@ -26,9 +26,9 @@ public:
typedef boost::shared_ptr<device> sptr;
//argument types for send and recv raw methods
- //the send args is an array of buffers
- //the recv args is a callback that takes a buffer
- typedef std::vector<boost::asio::const_buffer> send_args_t;
+ //the send args is convertable to a boost asio buffer
+ //the recv args is a callback that takes a boost asio buffer
+ typedef boost::asio::const_buffer send_args_t;
typedef boost::function<bool(const boost::asio::const_buffer &)> recv_args_t;
//structors