18 #ifndef INCLUDED_UHD_DEVICE_HPP
19 #define INCLUDED_UHD_DEVICE_HPP
26 #include <boost/utility.hpp>
27 #include <boost/shared_ptr.hpp>
28 #include <boost/function.hpp>
41 typedef boost::shared_ptr<device>
sptr;
42 typedef boost::function<device_addrs_t(const device_addr_t &)>
find_t;
43 typedef boost::function<sptr(const device_addr_t &)>
make_t;
60 static void register_device(
63 const device_filter_t filter
92 static sptr make(
const device_addr_t &hint, device_filter_t filter = ANY,
size_t which = 0);
112 device_filter_t get_device_type()
const;
boost::shared_ptr< device > sptr
Definition: device.hpp:41
Definition: device.hpp:47
boost::shared_ptr< property_tree > sptr
Definition: property_tree.hpp:130
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:184
Definition: convert.hpp:28
device_filter_t
Device type, used as a filter in make.
Definition: device.hpp:46
std::vector< device_addr_t > device_addrs_t
A typedef for a vector of device addresses.
Definition: device_addr.hpp:88
uhd::property_tree::sptr _tree
Definition: device.hpp:117
boost::function< sptr(const device_addr_t &)> make_t
Definition: device.hpp:43
Definition: stream.hpp:57
#define UHD_API
Definition: config.h:66
Definition: device.hpp:38
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:256
device_filter_t _type
Definition: device.hpp:118
Definition: device.hpp:48
boost::function< device_addrs_t(const device_addr_t &)> find_t
Definition: device.hpp:42
Definition: device_addr.hpp:47