23 #ifndef INCLUDED_GR_UHD_USRP_SINK_H
24 #define INCLUDED_GR_UHD_USRP_SINK_H
29 #ifndef INCLUDED_UHD_STREAM_HPP
34 const std::string &otw =
"")
45 # define INCLUDED_UHD_STREAM_HPP
47 # define GR_UHD_USE_STREAM_API
124 typedef boost::shared_ptr<usrp_sink>
sptr;
133 static sptr make(const ::uhd::device_addr_t &device_addr,
134 const ::uhd::io_type_t &io_type,
135 size_t num_channels);
143 static sptr make(const ::uhd::device_addr_t &device_addr,
144 const ::uhd::stream_args_t &stream_args,
145 const std::string &tsb_tag_name =
"");
158 virtual void set_start_time(const ::uhd::time_spec_t &time) = 0;
167 virtual ::uhd::dict<std::string, std::string> get_usrp_info(
size_t chan = 0) = 0;
175 virtual void set_dc_offset(
const std::complex<double> &offset,
176 size_t chan = 0) = 0;
185 virtual void set_iq_balance(
const std::complex<double> &correction,
186 size_t chan = 0) = 0;
Definition: usrp_block.h:41
Definition: usrp_sink.h:120
std::string otw_format
Definition: usrp_sink.h:40
Definition: usrp_sink.h:30
std::string cpu_format
Definition: usrp_sink.h:39
boost::shared_ptr< usrp_sink > sptr
Definition: usrp_sink.h:124
Include this header to use the message passing features.
Definition: logger.h:131
stream_args_t(const std::string &cpu="", const std::string &otw="")
Definition: usrp_sink.h:33
device_addr_t args
Definition: usrp_sink.h:41
Definition: usrp_sink.h:31
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:30
std::vector< size_t > channels
Definition: usrp_sink.h:42