Avionics
Dropship Simulator
|
#include <TeamSpeak.h>
Public Member Functions | |
void | Initialize (Logger *prmLogger, TeamSpeakConfig *prmConfig, Bus *prmBus) |
void | FrameMove () |
void | Connect () const |
void | Destroy () const |
Private Member Functions | |
void | Log (char *method, const char *msg, Logger::Level level=Logger::Level::Info, int errorno=0) const |
void | SetPTT (bool shouldTalk) const |
Static Private Member Functions | |
static void | onUserLoggingMessageEvent (const char *logMessage, int logLevel, const char *logChannel, uint64 logID, const char *logTime, const char *completeLogString) |
static void | onConnectStatusChangeEvent (uint64 serverConnectionHandlerID, int newStatus, unsigned int errorNumber) |
static void | onNewChannelEvent (uint64 serverConnectionHandlerID, uint64 channelID, uint64 channelParentID) |
static void | onNewChannelCreatedEvent (uint64 serverConnectionHandlerID, uint64 channelID, uint64 channelParentID, anyID invokerID, const char *invokerName, const char *invokerUniqueIdentifier) |
static void | onDelChannelEvent (uint64 serverConnectionHandlerID, uint64 channelID, anyID invokerID, const char *invokerName, const char *invokerUniqueIdentifier) |
static void | onClientMoveEvent (uint64 serverConnectionHandlerID, anyID clientID, uint64 oldChannelID, uint64 newChannelID, int visibility, const char *moveMessage) |
static void | onClientMoveSubscriptionEvent (uint64 serverConnectionHandlerID, anyID clientID, uint64 oldChannelID, uint64 newChannelID, int visibility) |
static void | onClientMoveTimeoutEvent (uint64 serverConnectionHandlerID, anyID clientID, uint64 oldChannelID, uint64 newChannelID, int visibility, const char *timeoutMessage) |
static void | onTalkStatusChangeEvent (uint64 serverConnectionHandlerID, int status, int isReceivedWhisper, anyID clientID) |
static void | onIgnoredWhisperEvent (uint64 serverConnectionHandlerID, anyID clientID) |
static void | onServerErrorEvent (uint64 serverConnectionHandlerID, const char *errorMessage, unsigned int error, const char *returnCode, const char *extraMessage) |
Private Attributes | |
Logger * | logger = nullptr |
TeamSpeakConfig * | config = nullptr |
Bus * | bus = nullptr |
uint64 | scHandlerID = 0 |
bool | lostConnection = false |
Definition at line 23 of file TeamSpeak.h.
void Devices::TeamSpeak::Connect | ( | ) | const |
Definition at line 287 of file TeamSpeak.cpp.
void Devices::TeamSpeak::Destroy | ( | ) | const |
Definition at line 531 of file TeamSpeak.cpp.
void Devices::TeamSpeak::FrameMove | ( | ) |
see if there is a PTT command change from the RTU
Definition at line 582 of file TeamSpeak.cpp.
void Devices::TeamSpeak::Initialize | ( | Logger * | prmLogger, |
TeamSpeakConfig * | prmConfig, | ||
Bus * | prmBus | ||
) |
turn off noise suppression
Set gain
signals to turn off VAD for PTT
0 is default
Definition at line 297 of file TeamSpeak.cpp.
|
private |
Definition at line 560 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 146 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 164 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 190 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 22 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 128 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 235 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 104 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 72 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 252 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 206 of file TeamSpeak.cpp.
|
staticprivate |
Definition at line 270 of file TeamSpeak.cpp.
|
private |
Definition at line 604 of file TeamSpeak.cpp.
|
private |
Definition at line 28 of file TeamSpeak.h.
|
private |
Definition at line 27 of file TeamSpeak.h.
|
private |
Definition at line 26 of file TeamSpeak.h.
|
private |
Definition at line 31 of file TeamSpeak.h.
|
private |
Definition at line 30 of file TeamSpeak.h.