diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-05 10:30:28 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-05 10:30:28 -0700 |
commit | 0cd5375b5c8a928f112a963d9c9c2556bafed108 (patch) | |
tree | f3a10162878cab2f576dc58cc1d6ae7be22eb715 /host/lib/transport/usb_dummy_impl.cpp | |
parent | 50ff7e4d3bf4e196b4c054821f67f8d1bff5203b (diff) | |
download | uhd-0cd5375b5c8a928f112a963d9c9c2556bafed108.tar.gz uhd-0cd5375b5c8a928f112a963d9c9c2556bafed108.tar.bz2 uhd-0cd5375b5c8a928f112a963d9c9c2556bafed108.zip |
uhd: replaced frame params for the zero copy interfaces with a device address
the device address gives a key, value pair of infinite optional capabilities
added a cast option to the device address to cast string to type T
added call to the zero_copy_if to get send and recv frame sizes
changed the usrp2 impl to calculate recv/send spp from the data transport
Diffstat (limited to 'host/lib/transport/usb_dummy_impl.cpp')
-rw-r--r-- | host/lib/transport/usb_dummy_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/usb_dummy_impl.cpp b/host/lib/transport/usb_dummy_impl.cpp index 518342aba..8a9772e7f 100644 --- a/host/lib/transport/usb_dummy_impl.cpp +++ b/host/lib/transport/usb_dummy_impl.cpp @@ -20,6 +20,7 @@ #include <uhd/transport/usb_zero_copy.hpp> #include <uhd/utils/exception.hpp> +using namespace uhd; using namespace uhd::transport; std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(boost::uint16_t, boost::uint16_t){ @@ -32,8 +33,7 @@ usb_control::sptr usb_control::make(usb_device_handle::sptr){ usb_zero_copy::sptr usb_zero_copy::make( usb_device_handle::sptr, - unsigned int, unsigned int, - size_t, size_t, size_t, size_t + size_t, size_t, const device_addr_t & ){ throw std::runtime_error("no usb support -> usb_zero_copy::make not implemented"); } |