21 #ifndef INCLUDED_SOAPY_SINK_C_H
22 #define INCLUDED_SOAPY_SINK_C_H
24 #include <gnuradio/block.h>
25 #include <gnuradio/sync_block.h>
49 typedef std::shared_ptr<soapy_sink_c> soapy_sink_c_sptr;
61 public gr::sync_block,
77 int work(
int noutput_items,
78 gr_vector_const_void_star &input_items,
79 gr_vector_void_star &output_items );
100 const std::string & name,
103 double get_gain(
const std::string & name,
size_t chan);
116 const size_t mboard);
120 const size_t mboard);
133 SoapySDR::Device *_device;
134 SoapySDR::Stream *_stream;
Definition: time_spec.h:39
Definition: sink_iface.h:33
Definition: soapy_sink_c.h:63
::osmosdr::time_spec_t get_time_now(size_t mboard)
void set_clock_source(const std::string &source, const size_t mboard)
void set_time_now(const ::osmosdr::time_spec_t &time_spec, size_t mboard)
std::vector< std::string > get_gain_names(size_t chan)
static std::vector< std::string > get_devices()
void set_time_next_pps(const ::osmosdr::time_spec_t &time_spec)
bool set_gain_mode(bool automatic, size_t chan)
::osmosdr::time_spec_t get_time_last_pps(size_t mboard)
std::vector< std::string > get_time_sources(const size_t mboard)
std::string get_clock_source(const size_t mboard)
osmosdr::gain_range_t get_gain_range(const std::string &name, size_t chan)
osmosdr::freq_range_t get_freq_range(size_t chan)
osmosdr::freq_range_t get_bandwidth_range(size_t chan)
void set_time_source(const std::string &source, const size_t mboard)
std::vector< std::string > get_antennas(size_t chan)
double get_bandwidth(size_t chan)
osmosdr::gain_range_t get_gain_range(size_t chan)
double get_gain(size_t chan)
osmosdr::meta_range_t get_sample_rates(void)
std::string get_antenna(size_t chan)
void set_dc_offset(const std::complex< double > &offset, size_t chan)
void set_iq_balance(const std::complex< double > &balance, size_t chan)
double set_center_freq(double freq, size_t chan)
std::string set_antenna(const std::string &antenna, size_t chan)
double get_center_freq(size_t chan)
double set_if_gain(double gain, size_t chan)
double get_freq_corr(size_t chan)
double set_bb_gain(double gain, size_t chan)
double get_clock_rate(size_t mboard)
double set_sample_rate(double rate)
double get_sample_rate(void)
double set_gain(double gain, const std::string &name, size_t chan)
bool get_gain_mode(size_t chan)
void set_time_unknown_pps(const ::osmosdr::time_spec_t &time_spec)
std::string get_time_source(const size_t mboard)
friend soapy_sink_c_sptr make_soapy_sink_c(const std::string &args)
Return a shared_ptr to a new instance of soapy_sink_c.
double set_freq_corr(double ppm, size_t chan)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
std::vector< std::string > get_clock_sources(const size_t mboard)
size_t get_num_channels(void)
double get_gain(const std::string &name, size_t chan)
double set_gain(double gain, size_t chan)
void set_clock_rate(double rate, size_t mboard)
double set_bandwidth(double bandwidth, size_t chan)
Definition: soapy_sink_c.h:33
soapy_sink_c_sptr make_soapy_sink_c(const std::string &args="")
Return a shared_ptr to a new instance of soapy_sink_c.