diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
| commit | e1c678ef00f0159bbeb5571e5ebb0d4697121334 (patch) | |
| tree | 6547edef81a62a812a4d0f64e03fda226b5f0a7e /Transceiver/TransceiverBase.hpp | |
| parent | b9daa22c4c3ad51cd4bc0ef624a19f21d01c9305 (diff) | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
Update upstream source from tag 'upstream/3.0.0_rc1+repack'
Update to upstream version '3.0.0~rc1+repack'
with Debian dir 68c212e23136fecf9ebc6f12ff355579224d27ee
Diffstat (limited to 'Transceiver/TransceiverBase.hpp')
| -rwxr-xr-x | Transceiver/TransceiverBase.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Transceiver/TransceiverBase.hpp b/Transceiver/TransceiverBase.hpp index 7f63b62c..70887874 100755 --- a/Transceiver/TransceiverBase.hpp +++ b/Transceiver/TransceiverBase.hpp @@ -112,6 +112,20 @@ protected: virtual void do_ptt (bool = true) = 0;
virtual void do_post_ptt (bool = true) {}
+
+ // this is the rig tuning -- use false if need to turn off tune -- do we need that for anyone?
+ virtual void do_audio (bool = false) {}
+ virtual void do_tune (bool = false) {}
+ virtual void do_period (double) {}
+ virtual void do_blocksize (qint32) {}
+ virtual void do_spread(double) {}
+ virtual void do_nsym(int) {}
+ virtual void do_trfrequency(double) {}
+ virtual void do_volume (qreal) {}
+ virtual void do_txvolume (qreal) {}
+ //parameters are MODE,symbolslength,framespersymbol,trfrequency,tonespacing,synchronize,FASTMODE,dbsdr,trperiod //parameters added by w3sz are in bold
+ virtual void do_modulator_start(QString, unsigned, double, double, double, bool, bool, double, double) {}
+ virtual void do_modulator_stop(bool) {}
virtual bool do_pre_update () {return true;}
@@ -121,6 +135,9 @@ protected: void update_split (bool);
void update_mode (MODE);
void update_PTT (bool = true);
+ void update_level (int = 0);
+ void update_power (unsigned int = 0);
+ void update_swr (unsigned int = 0);
// Calling this eventually triggers the Transceiver::update(State) signal.
void update_complete (bool force_signal = false);
@@ -161,4 +178,18 @@ private: #define CAT_ERROR(MSG) LOG_LOG_LOCATION (logger (), error, MSG)
#define CAT_FATAL(MSG) LOG_LOG_LOCATION (logger (), fatal, MSG)
+// some trace macros
+#if WSJT_TRACE_CAT
+#define TRACE_CAT(FAC, MSG) qDebug () << QString {"%1::%2:"}.arg ((FAC)).arg (__func__) << MSG
+#else
+#define TRACE_CAT(FAC, MSG)
+#endif
+
+#if WSJT_TRACE_CAT && WSJT_TRACE_CAT_POLLS
+#define TRACE_CAT_POLL(FAC, MSG) qDebug () << QString {"%1::%2:"}.arg ((FAC)).arg (__func__) << MSG
+#else
+#define TRACE_CAT_POLL(FAC, MSG)
+#endif
+
+
#endif
|
