7 #ifndef INCLUDED_UHD_STREAM_HPP 8 #define INCLUDED_UHD_STREAM_HPP 15 #include <boost/utility.hpp> 16 #include <boost/shared_ptr.hpp> 50 const std::string &cpu =
"",
51 const std::string &otw =
"" 160 typedef boost::shared_ptr<rx_streamer>
sptr;
165 virtual size_t get_num_channels(
void)
const = 0;
168 virtual size_t get_max_num_samps(
void)
const = 0;
208 const buffs_type &buffs,
209 const size_t nsamps_per_buff,
211 const double timeout = 0.1,
212 const bool one_packet =
false 226 virtual void issue_stream_cmd(
const stream_cmd_t &stream_cmd) = 0;
236 typedef boost::shared_ptr<tx_streamer>
sptr;
241 virtual size_t get_num_channels(
void)
const = 0;
244 virtual size_t get_max_num_samps(
void)
const = 0;
271 const buffs_type &buffs,
272 const size_t nsamps_per_buff,
274 const double timeout = 0.1
283 virtual bool recv_async_msg(
Definition: stream_cmd.hpp:35
Definition: stream.hpp:158
Definition: stream.hpp:234
std::vector< size_t > channels
Definition: stream.hpp:150
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:160
std::string otw_format
Definition: stream.hpp:93
Definition: build_info.hpp:14
std::string cpu_format
Definition: stream.hpp:73
Definition: ref_vector.hpp:20
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:171
stream_args_t(const std::string &cpu="", const std::string &otw="")
Convenience constructor for streamer args.
Definition: stream.hpp:49
device_addr_t args
Definition: stream.hpp:129
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:247
Definition: stream.hpp:46
#define UHD_API
Definition: config.h:62
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:236
Definition: device_addr.hpp:36