23 #ifndef INCLUDED_GR_UHD_USRP_SINK_H 24 #define INCLUDED_GR_UHD_USRP_SINK_H 104 typedef boost::shared_ptr<usrp_sink>
sptr;
112 static sptr make(const ::uhd::device_addr_t& device_addr,
113 const ::uhd::stream_args_t& stream_args,
114 const std::string& tsb_tag_name =
"");
127 virtual void set_start_time(const ::uhd::time_spec_t& time) = 0;
136 virtual ::uhd::dict<std::string, std::string> get_usrp_info(
size_t chan = 0) = 0;
143 virtual std::vector<std::string> get_lo_names(
size_t chan = 0) = 0;
155 set_lo_source(
const std::string& src,
const std::string& name,
size_t chan = 0) = 0;
163 virtual const std::string get_lo_source(
const std::string& name,
size_t chan = 0) = 0;
171 virtual std::vector<std::string> get_lo_sources(
const std::string& name,
172 size_t chan = 0) = 0;
183 set_lo_export_enabled(
bool enabled,
const std::string& name,
size_t chan = 0) = 0;
190 virtual bool get_lo_export_enabled(
const std::string& name,
size_t chan = 0) = 0;
199 virtual double set_lo_freq(
double freq,
const std::string& name,
size_t chan = 0) = 0;
207 virtual double get_lo_freq(
const std::string& name,
size_t chan = 0) = 0;
215 virtual ::uhd::freq_range_t get_lo_freq_range(
const std::string& name,
216 size_t chan = 0) = 0;
224 virtual void set_dc_offset(
const std::complex<double>& offset,
size_t chan = 0) = 0;
233 virtual void set_iq_balance(
const std::complex<double>& correction,
234 size_t chan = 0) = 0;
Definition: usrp_block.h:59
Definition: usrp_sink.h:100
boost::shared_ptr< usrp_sink > sptr
Definition: usrp_sink.h:104
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define GR_UHD_API
Definition: gr-uhd/include/gnuradio/uhd/api.h:30