18 #ifndef INCLUDED_UHD_STREAM_HPP 19 #define INCLUDED_UHD_STREAM_HPP 25 #include <boost/utility.hpp> 26 #include <boost/shared_ptr.hpp> 43 const std::string &cpu =
"",
44 const std::string &otw =
"" 125 typedef boost::shared_ptr<rx_streamer>
sptr;
128 virtual size_t get_num_channels(
void)
const = 0;
131 virtual size_t get_max_num_samps(
void)
const = 0;
167 const buffs_type &buffs,
168 const size_t nsamps_per_buff,
170 const double timeout = 0.1,
171 const bool one_packet =
false 182 typedef boost::shared_ptr<tx_streamer>
sptr;
185 virtual size_t get_num_channels(
void)
const = 0;
188 virtual size_t get_max_num_samps(
void)
const = 0;
215 const buffs_type &buffs,
216 const size_t nsamps_per_buff,
218 const double timeout = 0.1
Definition: stream.hpp:123
Definition: stream.hpp:180
std::vector< size_t > channels
Definition: stream.hpp:115
boost::shared_ptr< rx_streamer > sptr
Definition: stream.hpp:125
std::string otw_format
Definition: stream.hpp:76
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
std::string cpu_format
Definition: stream.hpp:64
Definition: ref_vector.hpp:30
ref_vector< void * > buffs_type
Typedef for a pointer to a single, or a collection of recv buffers.
Definition: stream.hpp:134
stream_args_t(const std::string &cpu="", const std::string &otw="")
Convenience constructor for streamer args.
Definition: stream.hpp:42
device_addr_t args
Definition: stream.hpp:107
ref_vector< const void * > buffs_type
Typedef for a pointer to a single, or a collection of send buffers.
Definition: stream.hpp:191
Definition: stream.hpp:39
boost::shared_ptr< tx_streamer > sptr
Definition: stream.hpp:182
Definition: device_addr.hpp:47