swift
|
Bridge, running in main thread -> voice client in own thread. More...
Signals | |
void | receivingCallsignsChanged (const swift::core::afv::audio::TransceiverReceivingCallsignsChangedArgs &args) |
Receiving callsigns have been changed. More... | |
void | connectionStatusChanged (swift::core::afv::clients::CAfvClient::ConnectionStatus status) |
Connection status has been changed. | |
void | updatedFromOwnAircraftCockpit () |
Client updated from own aicraft data. | |
void | ptt (bool active, const swift::misc::CIdentifier &identifier) |
PTT status in this particular AFV client. | |
void | inputVolumePeakVU (double value) |
VU levels. | |
void | outputVolumePeakVU (double value) |
VU levels. | |
Public Member Functions | |
CAfvClientBridge (swift::core::afv::clients::CAfvClient *afvClient, QObject *parent=nullptr) | |
Ctor. | |
swift::core::afv::clients::CAfvClient::ConnectionStatus | getConnectionStatus () const |
Connection status. More... | |
Q_INVOKABLE void | connectTo (const QString &cid, const QString &password, const QString &callsign) |
Connect to network. More... | |
Q_INVOKABLE void | disconnectFrom () |
Disconnect from network. More... | |
Q_INVOKABLE void | setBypassEffects (bool value) |
Enable/disable VHF simulation, true means effects are NOT used. | |
Q_INVOKABLE void | startAudio (const QString &inputDeviceName, const QString &outputDeviceName) |
Start/stop client. More... | |
Q_INVOKABLE void | enableTransceiver (quint16 id, bool enable) |
Enable COM unit/transceiver. More... | |
Q_INVOKABLE void | updateComFrequency (quint16 id, quint32 frequencyHz) |
Update frequency. More... | |
Q_INVOKABLE void | updatePosition (double latitudeDeg, double longitudeDeg, double heightMeters) |
Update own aircraft position. More... | |
Q_INVOKABLE void | setPtt (bool active) |
Push to talk. More... | |
Q_INVOKABLE void | setInputVolumeDb (double valueDb) |
Input volume in dB, [MinDbIn, MaxDbIn]dB. More... | |
Q_INVOKABLE void | setNormalizedMasterOutputVolume (double valueDb) |
Normalized volumes 0..100. More... | |
double | getInputVolumePeakVU () const |
VU values, 0..1. | |
double | getOutputVolumePeakVU () const |
VU values, 0..1. | |
QString | getReceivingCallsignsCom1 () |
Callsigns currently received. | |
QString | getReceivingCallsignsCom2 () |
Callsigns currently received. | |
Q_INVOKABLE QStringList | availableInputDevices () const |
Audio devices. | |
Q_INVOKABLE QStringList | availableOutputDevices () const |
Audio devices. | |
Q_INVOKABLE void | setLoopBack (bool on) |
Loopback. | |
Q_INVOKABLE bool | isLoopback () const |
Loopback. | |
Properties | |
double | inputVolumePeakVU |
Bridge properties. | |
double | outputVolumePeakVU |
Bridge properties. | |
swift::core::afv::clients::CAfvClient::ConnectionStatus | connectionStatus |
Bridge properties. | |
QString | receivingCallsignsCom1 |
Bridge properties. | |
QString | receivingCallsignsCom2 |
Bridge properties. | |
Bridge, running in main thread -> voice client in own thread.
Definition at line 14 of file afvclientbridge.h.
|
inline |
Connect to network.
Definition at line 51 of file afvclientbridge.h.
|
inline |
Disconnect from network.
Definition at line 58 of file afvclientbridge.h.
|
inline |
Enable COM unit/transceiver.
Definition at line 76 of file afvclientbridge.h.
|
inline |
Connection status.
Definition at line 39 of file afvclientbridge.h.
|
signal |
Receiving callsigns have been changed.
|
inline |
Input volume in dB, [MinDbIn, MaxDbIn]dB.
Definition at line 100 of file afvclientbridge.h.
|
inline |
Normalized volumes 0..100.
Definition at line 103 of file afvclientbridge.h.
|
inline |
|
inline |
Start/stop client.
Definition at line 70 of file afvclientbridge.h.
|
inline |
Update frequency.
Definition at line 79 of file afvclientbridge.h.
|
inline |
Update own aircraft position.
Definition at line 85 of file afvclientbridge.h.