16 #include <boost/utility.hpp> 169 typedef std::shared_ptr<rx_streamer>
sptr;
174 virtual size_t get_num_channels(
void)
const = 0;
177 virtual size_t get_max_num_samps(
void)
const = 0;
239 virtual size_t recv(
const buffs_type& buffs,
240 const size_t nsamps_per_buff,
242 const double timeout = 0.1,
243 const bool one_packet =
false) = 0;
256 virtual void issue_stream_cmd(
const stream_cmd_t& stream_cmd) = 0;
267 typedef std::shared_ptr<tx_streamer>
sptr;
272 virtual size_t get_num_channels(
void)
const = 0;
275 virtual size_t get_max_num_samps(
void)
const = 0;
308 virtual size_t send(
const buffs_type& buffs,
309 const size_t nsamps_per_buff,
311 const double timeout = 0.1) = 0;
319 virtual bool recv_async_msg(
std::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:169
Definition: stream_cmd.hpp:39
Definition: stream.hpp:166
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45
Definition: stream.hpp:264
std::vector< size_t > channels
Definition: stream.hpp:158
std::string otw_format
Definition: stream.hpp:92
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:180
Definition: build_info.hpp:12
std::string cpu_format
Definition: stream.hpp:72
Definition: ref_vector.hpp:21
stream_args_t(const std::string &cpu="", const std::string &otw="")
Convenience constructor for streamer args.
Definition: stream.hpp:50
device_addr_t args
Definition: stream.hpp:129
Definition: stream.hpp:47
#define UHD_API
Definition: config.h:87
std::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:267
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:278
Definition: device_addr.hpp:37