8 #ifndef INCLUDED_UHD_STREAM_HPP 9 #define INCLUDED_UHD_STREAM_HPP 16 #include <boost/utility.hpp> 17 #include <boost/shared_ptr.hpp> 51 const std::string &cpu =
"",
52 const std::string &otw =
"" 161 typedef boost::shared_ptr<rx_streamer>
sptr;
166 virtual size_t get_num_channels(
void)
const = 0;
169 virtual size_t get_max_num_samps(
void)
const = 0;
209 const buffs_type &buffs,
210 const size_t nsamps_per_buff,
212 const double timeout = 0.1,
213 const bool one_packet =
false 227 virtual void issue_stream_cmd(
const stream_cmd_t &stream_cmd) = 0;
237 typedef boost::shared_ptr<tx_streamer>
sptr;
242 virtual size_t get_num_channels(
void)
const = 0;
245 virtual size_t get_max_num_samps(
void)
const = 0;
272 const buffs_type &buffs,
273 const size_t nsamps_per_buff,
275 const double timeout = 0.1
284 virtual bool recv_async_msg(
Definition: stream_cmd.hpp:36
Definition: stream.hpp:159
Definition: stream.hpp:235
std::vector< size_t > channels
Definition: stream.hpp:151
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:161
std::string otw_format
Definition: stream.hpp:94
Definition: build_info.hpp:14
std::string cpu_format
Definition: stream.hpp:74
Definition: ref_vector.hpp:21
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:172
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:130
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:248
Definition: stream.hpp:47
#define UHD_API
Definition: config.h:63
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:237
Definition: device_addr.hpp:38