18 #ifndef INCLUDED_UHD_DEVICE_HPP    19 #define INCLUDED_UHD_DEVICE_HPP    27 #include <boost/utility.hpp>    28 #include <boost/shared_ptr.hpp>    29 #include <boost/function.hpp>    42     typedef boost::shared_ptr<device> 
sptr;
    43     typedef boost::function<device_addrs_t(const device_addr_t &)> 
find_t;
    44     typedef boost::function<sptr(const device_addr_t &)> 
make_t;
    52     static void register_device(
    79     static sptr make(
const device_addr_t &hint, 
size_t which = 0);
    86         SEND_MODE_FULL_BUFF = 0,
    88         SEND_MODE_ONE_PACKET = 1
    96         RECV_MODE_FULL_BUFF = 0,
    98         RECV_MODE_ONE_PACKET = 1
   132         const send_buffs_type &buffs,
   133         size_t nsamps_per_buff,
   172         const recv_buffs_type &buffs,
   173         size_t nsamps_per_buff,
   184     virtual size_t get_max_send_samps_per_packet(
void) 
const = 0;
   190     virtual size_t get_max_recv_samps_per_packet(
void) 
const = 0;
   198     virtual bool recv_async_msg(
   203     virtual boost::shared_ptr<property_tree> get_tree(
void) 
const = 0;
 
send_mode_t
Definition: device.hpp:84
 
recv_mode_t
Definition: device.hpp:94
 
boost::shared_ptr< device > sptr
Definition: device.hpp:42
 
#define UHD_API
Definition: config.hpp:76
 
Definition: convert.hpp:28
 
Definition: ref_vector.hpp:30
 
ref_vector< void * > recv_buffs_type
Typedef for a pointer to a single, or a collection of recv buffers. 
Definition: device.hpp:105
 
std::vector< device_addr_t > device_addrs_t
A typedef for a vector of device addresses. 
Definition: device_addr.hpp:88
 
boost::function< sptr(const device_addr_t &)> make_t
Definition: device.hpp:44
 
ref_vector< const void * > send_buffs_type
Typedef for a pointer to a single, or a collection of send buffers. 
Definition: device.hpp:102
 
Definition: io_type.hpp:29
 
Definition: device.hpp:39
 
boost::function< device_addrs_t(const device_addr_t &)> find_t
Definition: device.hpp:43
 
Definition: device_addr.hpp:47