18 #ifndef INCLUDED_UHD_STREAM_HPP 19 #define INCLUDED_UHD_STREAM_HPP 26 #include <boost/utility.hpp> 27 #include <boost/shared_ptr.hpp> 61 const std::string &cpu =
"",
62 const std::string &otw =
"" 184 typedef boost::shared_ptr<rx_streamer>
sptr;
189 virtual size_t get_num_channels(
void)
const = 0;
192 virtual size_t get_max_num_samps(
void)
const = 0;
232 const buffs_type &buffs,
233 const size_t nsamps_per_buff,
235 const double timeout = 0.1,
236 const bool one_packet =
false 250 virtual void issue_stream_cmd(
const stream_cmd_t &stream_cmd) = 0;
260 typedef boost::shared_ptr<tx_streamer>
sptr;
265 virtual size_t get_num_channels(
void)
const = 0;
268 virtual size_t get_max_num_samps(
void)
const = 0;
295 const buffs_type &buffs,
296 const size_t nsamps_per_buff,
298 const double timeout = 0.1
Definition: stream_cmd.hpp:46
Definition: stream.hpp:182
Definition: stream.hpp:258
std::vector< size_t > channels
Definition: stream.hpp:174
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:184
std::string otw_format
Definition: stream.hpp:104
Definition: convert.hpp:28
std::string cpu_format
Definition: stream.hpp:84
Definition: ref_vector.hpp:31
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:195
stream_args_t(const std::string &cpu="", const std::string &otw="")
Convenience constructor for streamer args.
Definition: stream.hpp:60
size_t send(const send_buffs_type &buffs, size_t nsamps_per_buff, const tx_metadata_t &metadata, const io_type_t &io_type, send_mode_t send_mode, double timeout=0.1)
Definition: device_deprecated.ipp:74
device_addr_t args
Definition: stream.hpp:153
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:271
Definition: stream.hpp:57
#define UHD_API
Definition: config.h:66
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:260
size_t recv(const recv_buffs_type &buffs, size_t nsamps_per_buff, rx_metadata_t &metadata, const io_type_t &io_type, recv_mode_t recv_mode, double timeout=0.1)
Definition: device_deprecated.ipp:130
virtual bool recv_async_msg(async_metadata_t &async_metadata, double timeout=0.1)=0
Definition: device_addr.hpp:47