18 #ifndef INCLUDED_UHD_DEVICE_HPP 19 #define INCLUDED_UHD_DEVICE_HPP 25 #include <boost/utility.hpp> 26 #include <boost/shared_ptr.hpp> 27 #include <boost/function.hpp> 40 typedef boost::shared_ptr<device>
sptr;
41 typedef boost::function<device_addrs_t(const device_addr_t &)>
find_t;
42 typedef boost::function<sptr(const device_addr_t &)>
make_t;
50 static void register_device(
77 static sptr make(
const device_addr_t &hint,
size_t which = 0);
91 virtual bool recv_async_msg(
96 virtual boost::shared_ptr<property_tree> get_tree(
void)
const = 0;
98 #include <uhd/device_deprecated.ipp>
boost::shared_ptr< device > sptr
Definition: device.hpp:40
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:125
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
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:42
Definition: stream.hpp:39
Definition: device.hpp:37
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:182
boost::function< device_addrs_t(const device_addr_t &)> find_t
Definition: device.hpp:41
Definition: device_addr.hpp:47