 |
USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
|
|
Go to the documentation of this file.
8 #ifndef INCLUDED_UHD_STREAM_HPP
9 #define INCLUDED_UHD_STREAM_HPP
17 #include <boost/shared_ptr.hpp>
18 #include <boost/utility.hpp>
173 typedef boost::shared_ptr<rx_streamer>
sptr;
178 virtual size_t get_num_channels(
void)
const = 0;
181 virtual size_t get_max_num_samps(
void)
const = 0;
224 const size_t nsamps_per_buff,
226 const double timeout = 0.1,
227 const bool one_packet =
false) = 0;
240 virtual void issue_stream_cmd(
const stream_cmd_t& stream_cmd) = 0;
251 typedef boost::shared_ptr<tx_streamer>
sptr;
256 virtual size_t get_num_channels(
void)
const = 0;
259 virtual size_t get_max_num_samps(
void)
const = 0;
293 const size_t nsamps_per_buff,
295 const double timeout = 0.1) = 0;
303 virtual bool recv_async_msg(
Definition: stream.hpp:170
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:173
Definition: stream.hpp:248
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:251
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:262
#define UHD_API
Definition: config.h:68
std::vector< size_t > channels
Definition: stream.hpp:162
stream_args_t(const std::string &cpu="", const std::string &otw="")
Convenience constructor for streamer args.
Definition: stream.hpp:62
Definition: device_addr.hpp:38
device_addr_t args
Definition: stream.hpp:141
std::string cpu_format
Definition: stream.hpp:84
std::string otw_format
Definition: stream.hpp:104
Definition: build_info.hpp:13
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:184
Definition: stream_cmd.hpp:36
Definition: stream.hpp:59
Definition: ref_vector.hpp:21
boost::noncopyable noncopyable
Definition: noncopyable.hpp:46