aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Soapy.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-16 12:11:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-16 12:11:27 +0100
commitac0b24dc76cae40cf513e97160da9305a7d5505c (patch)
treebb23001ecb643aa3348f80ca4ba0e8acf6050000 /src/output/Soapy.h
parent8d4a68a3c5c2910f7868a54847e47e813664621b (diff)
downloaddabmod-ac0b24dc76cae40cf513e97160da9305a7d5505c.tar.gz
dabmod-ac0b24dc76cae40cf513e97160da9305a7d5505c.tar.bz2
dabmod-ac0b24dc76cae40cf513e97160da9305a7d5505c.zip
Make some SDR functions const
Diffstat (limited to 'src/output/Soapy.h')
-rw-r--r--src/output/Soapy.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output/Soapy.h b/src/output/Soapy.h
index c603193..7bf0239 100644
--- a/src/output/Soapy.h
+++ b/src/output/Soapy.h
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Her Majesty the
Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2017
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -61,15 +61,15 @@ class Soapy : public Output::SDRDevice
~Soapy();
virtual void tune(double lo_offset, double frequency) override;
- virtual double get_tx_freq(void) override;
+ virtual double get_tx_freq(void) const override;
virtual void set_txgain(double txgain) override;
- virtual double get_txgain(void) override;
+ virtual double get_txgain(void) const override;
virtual void transmit_frame(const struct FrameData& frame) override;
- virtual RunStatistics get_run_statistics(void) override;
- virtual double get_real_secs(void) override;
+ virtual RunStatistics get_run_statistics(void) const override;
+ virtual double get_real_secs(void) const override;
virtual void set_rxgain(double rxgain) override;
- virtual double get_rxgain(void) override;
+ virtual double get_rxgain(void) const override;
virtual size_t receive_frame(
complexf *buf,
size_t num_samples,
@@ -77,8 +77,8 @@ class Soapy : public Output::SDRDevice
double timeout_secs) override;
// Return true if GPS and reference clock inputs are ok
- virtual bool is_clk_source_ok(void) override;
- virtual const char* device_name(void) override;
+ virtual bool is_clk_source_ok(void) const override;
+ virtual const char* device_name(void) const override;
private:
SDRDeviceConfig& m_conf;