Migrates TrainingAreaBase proxies to generated rtiddsgen API
Converts accessor calls to plain member access in tab and taboc proxies.
This commit is contained in:
25 files changed
+31
-50
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ NGL_TARGET_INCLUDE_DIRECTORIES(saaTelegrams
|
|||||||
${CMAKE_BINARY_DIR}/Lts/Services
|
${CMAKE_BINARY_DIR}/Lts/Services
|
||||||
)
|
)
|
||||||
NGL_TARGET_LINK_LIBRARIES(saaTelegrams
|
NGL_TARGET_LINK_LIBRARIES(saaTelegrams
|
||||||
# svcPdmClient # Externe Dependency - nicht verfügbar
|
svcPdmClient # qt5 parity: brings the RTI platform defines (RTI_LINUX etc.)
|
||||||
Qt6::Core
|
Qt6::Core
|
||||||
${Qt6_WebSockets}
|
${Qt6_WebSockets}
|
||||||
)
|
)
|
||||||
|
|||||||
-1
@@ -34,7 +34,6 @@ public:
|
|||||||
std::shared_ptr<AssetManagement::Interface::Ftc> getFtc() { return m_ftcAsm; }
|
std::shared_ptr<AssetManagement::Interface::Ftc> getFtc() { return m_ftcAsm; }
|
||||||
void modifyAssetAdlerProperties(int assetId, bool isSaaConnected = false);
|
void modifyAssetAdlerProperties(int assetId, bool isSaaConnected = false);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void onAssetModifyReply(const Core::FunctionReplyObject &reply) override;
|
void onAssetModifyReply(const Core::FunctionReplyObject &reply) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
-1
@@ -41,7 +41,6 @@ class FlmHandler
|
|||||||
void initHQFolders(int partyId);
|
void initHQFolders(int partyId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void onFileContentModifyReply(const Core::FunctionReplyObject &reply) override;
|
void onFileContentModifyReply(const Core::FunctionReplyObject &reply) override;
|
||||||
void onPathCreateReply(const Core::FunctionReplyObject &reply) override;
|
void onPathCreateReply(const Core::FunctionReplyObject &reply) override;
|
||||||
void onCreateNotificationReply(const Core::FunctionReplyObject &replyObject) override final;
|
void onCreateNotificationReply(const Core::FunctionReplyObject &replyObject) override final;
|
||||||
|
|||||||
+6
-6
@@ -489,7 +489,7 @@ void GenerateTelegrams::generateStellungsmeldungFS(AdlerJson::ExFeuerstellungFS
|
|||||||
req.feuerstellungsdaten.status = ProjectDataManagement::L28_Status::Einsatzbereit;
|
req.feuerstellungsdaten.status = ProjectDataManagement::L28_Status::Einsatzbereit;
|
||||||
req.feuerstellungsdaten.feuereinheit.verein = QStringLiteral("verein ExFeuerstellungFS");
|
req.feuerstellungsdaten.feuereinheit.verein = QStringLiteral("verein ExFeuerstellungFS");
|
||||||
req.feuerstellungsdaten.feuereinheit.r = 5;
|
req.feuerstellungsdaten.feuereinheit.r = 5;
|
||||||
req.feuerstellungsdaten.feuereinheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F3;
|
req.feuerstellungsdaten.feuereinheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_F3;
|
||||||
req.feuerstellungsdaten.mittelpunkt.koordinate.latitude = 53.37791;
|
req.feuerstellungsdaten.mittelpunkt.koordinate.latitude = 53.37791;
|
||||||
req.feuerstellungsdaten.mittelpunkt.koordinate.longitude = 8.759;
|
req.feuerstellungsdaten.mittelpunkt.koordinate.longitude = 8.759;
|
||||||
req.feuerstellungsdaten.mittelpunkt.hoehe = 20;
|
req.feuerstellungsdaten.mittelpunkt.hoehe = 20;
|
||||||
@@ -526,7 +526,7 @@ void GenerateTelegrams::generateStellungsmeldungWS(AdlerJson::ExFeuerstellungWS
|
|||||||
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::Einsatzbereit;
|
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::Einsatzbereit;
|
||||||
req.waffensystemdaten.einheit.verein = QStringLiteral("AB7X");
|
req.waffensystemdaten.einheit.verein = QStringLiteral("AB7X");
|
||||||
req.waffensystemdaten.einheit.r = 6;
|
req.waffensystemdaten.einheit.r = 6;
|
||||||
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F6;
|
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_F6;
|
||||||
|
|
||||||
AdlerJson::Geschoss geschoss1;
|
AdlerJson::Geschoss geschoss1;
|
||||||
AdlerJson::Geschoss geschoss2;
|
AdlerJson::Geschoss geschoss2;
|
||||||
@@ -558,7 +558,7 @@ void GenerateTelegrams::generateStellungsmeldungWS_Gmlrs(AdlerJson::ExFeuerstell
|
|||||||
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
|
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
|
||||||
req.waffensystemdaten.einheit.verein = QStringLiteral("AB13X");
|
req.waffensystemdaten.einheit.verein = QStringLiteral("AB13X");
|
||||||
req.waffensystemdaten.einheit.r = 6;
|
req.waffensystemdaten.einheit.r = 6;
|
||||||
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F6;
|
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_F6;
|
||||||
|
|
||||||
AdlerJson::Geschoss geschoss1;
|
AdlerJson::Geschoss geschoss1;
|
||||||
AdlerJson::Geschoss geschoss2;
|
AdlerJson::Geschoss geschoss2;
|
||||||
@@ -591,7 +591,7 @@ void GenerateTelegrams::generateStellungsmeldungWS_Dm72(AdlerJson::ExFeuerstellu
|
|||||||
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
|
req.waffensystemdaten.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
|
||||||
req.waffensystemdaten.einheit.verein = QStringLiteral("AB72X");
|
req.waffensystemdaten.einheit.verein = QStringLiteral("AB72X");
|
||||||
req.waffensystemdaten.einheit.r = 1;
|
req.waffensystemdaten.einheit.r = 1;
|
||||||
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F1;
|
req.waffensystemdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_F1;
|
||||||
|
|
||||||
AdlerJson::Geschoss geschoss1;
|
AdlerJson::Geschoss geschoss1;
|
||||||
AdlerJson::Geschoss geschoss2;
|
AdlerJson::Geschoss geschoss2;
|
||||||
@@ -622,7 +622,7 @@ void GenerateTelegrams::generateStellungsmeldungLP(AdlerJson::ExFeuerstellungLP
|
|||||||
{
|
{
|
||||||
req.ladeplatzdaten.einheit.r = 5;
|
req.ladeplatzdaten.einheit.r = 5;
|
||||||
req.ladeplatzdaten.einheit.verein = QStringLiteral("verein StellungsmeldungLP");
|
req.ladeplatzdaten.einheit.verein = QStringLiteral("verein StellungsmeldungLP");
|
||||||
req.ladeplatzdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F3;
|
req.ladeplatzdaten.einheit.oi = ProjectDataManagement::L19_Oi::L19_Oi_F3;
|
||||||
|
|
||||||
req.ladeplatzdaten.koordinate.koordinate.latitude = 53.37791;
|
req.ladeplatzdaten.koordinate.koordinate.latitude = 53.37791;
|
||||||
req.ladeplatzdaten.koordinate.koordinate.longitude = 8.759;
|
req.ladeplatzdaten.koordinate.koordinate.longitude = 8.759;
|
||||||
@@ -644,7 +644,7 @@ void GenerateTelegrams::generateStellungsmeldungLP(AdlerJson::ExFeuerstellungLP
|
|||||||
|
|
||||||
void GenerateTelegrams::generateStellungswechsel(AdlerJson::ExStellungswechsel &req)
|
void GenerateTelegrams::generateStellungswechsel(AdlerJson::ExStellungswechsel &req)
|
||||||
{
|
{
|
||||||
req.stellungswechseldaten.oi = ProjectDataManagement::L19_Oi::L19_Oi_L19_Oi_F3;
|
req.stellungswechseldaten.oi = ProjectDataManagement::L19_Oi::L19_Oi_F3;
|
||||||
req.stellungswechseldaten.r = 5;
|
req.stellungswechseldaten.r = 5;
|
||||||
req.stellungswechseldaten.verein = QStringLiteral("verein ExStellungswechsel");
|
req.stellungswechseldaten.verein = QStringLiteral("verein ExStellungswechsel");
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -65,7 +65,6 @@ private slots:
|
|||||||
void onDynamicParticipantDataChanged(const ParticipantManagement::DynamicParticipantData &data, DataModification modType);
|
void onDynamicParticipantDataChanged(const ParticipantManagement::DynamicParticipantData &data, DataModification modType);
|
||||||
void onSendParticipantDataTimeout();
|
void onSendParticipantDataTimeout();
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void handleParticipantPositionChangedExternal(const ParticipantManagement::ParticipantPosition &position);
|
void handleParticipantPositionChangedExternal(const ParticipantManagement::ParticipantPosition &position);
|
||||||
void handleParticipantPositionChangedInternal(const ParticipantManagement::ParticipantPosition &position);
|
void handleParticipantPositionChangedInternal(const ParticipantManagement::ParticipantPosition &position);
|
||||||
|
|
||||||
|
|||||||
+19
-19
@@ -750,15 +750,15 @@ struct SAATELEGRAMS_EXPORT Treffpunkt
|
|||||||
// EX-L49 Wirkmittel Feuerkommando Rakete
|
// EX-L49 Wirkmittel Feuerkommando Rakete
|
||||||
struct SAATELEGRAMS_EXPORT WirkmittelFeuerkommandoRakete
|
struct SAATELEGRAMS_EXPORT WirkmittelFeuerkommandoRakete
|
||||||
{
|
{
|
||||||
ProjectDataManagement::L27_EffectorId kenner {ProjectDataManagement::L27_EffectorId_def::get_default()}; // EX-L27
|
ProjectDataManagement::L27_EffectorId kenner {ProjectDataManagement::L27_EffectorId::A}; // EX-L27
|
||||||
QVector<Treffpunkt> treffpunkte;
|
QVector<Treffpunkt> treffpunkte;
|
||||||
double flugzeit {0.0};
|
double flugzeit {0.0};
|
||||||
int gipfelhoehe {0};
|
int gipfelhoehe {0};
|
||||||
double schussrichtung {0.0};
|
double schussrichtung {0.0};
|
||||||
int fallwinkel {0};
|
int fallwinkel {0};
|
||||||
ProjectDataManagement::L48_TrajectoryRocket anflug {ProjectDataManagement::L48_TrajectoryRocket_def::get_default()};
|
ProjectDataManagement::L48_TrajectoryRocket anflug {ProjectDataManagement::L48_TrajectoryRocket::Nominal};
|
||||||
FeuerkommandoGeschosse geschoss;
|
FeuerkommandoGeschosse geschoss;
|
||||||
ProjectDataManagement::L46_GpsFrequency gps {ProjectDataManagement::L46_GpsFrequency_def::get_default()};
|
ProjectDataManagement::L46_GpsFrequency gps {ProjectDataManagement::L46_GpsFrequency::L1};
|
||||||
int wirkzeit {-1};
|
int wirkzeit {-1};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1442,17 +1442,17 @@ const QMap<QString, ProjectDataManagement::L7_Request> ForderungMap = {
|
|||||||
|
|
||||||
// EX-L19 Orts ID
|
// EX-L19 Orts ID
|
||||||
const QMap<QString, ProjectDataManagement::L19_Oi> ortsIdMap = {
|
const QMap<QString, ProjectDataManagement::L19_Oi> ortsIdMap = {
|
||||||
{QStringLiteral("Empty"), ProjectDataManagement::L19_Oi::Empty}, // Orts ID nicht gesetzt
|
{QStringLiteral("Empty"), ProjectDataManagement::L19_Oi::L19_Oi_Empty}, // Orts ID nicht gesetzt
|
||||||
{QStringLiteral("F1"), ProjectDataManagement::L19_Oi::F1}, // 1. Feuerstellung
|
{QStringLiteral("F1"), ProjectDataManagement::L19_Oi::L19_Oi_F1}, // 1. Feuerstellung
|
||||||
{QStringLiteral("F2"), ProjectDataManagement::L19_Oi::F2}, // 2. Feuerstellung
|
{QStringLiteral("F2"), ProjectDataManagement::L19_Oi::L19_Oi_F2}, // 2. Feuerstellung
|
||||||
{QStringLiteral("F3"), ProjectDataManagement::L19_Oi::F3}, // 3. Feuerstellung
|
{QStringLiteral("F3"), ProjectDataManagement::L19_Oi::L19_Oi_F3}, // 3. Feuerstellung
|
||||||
{QStringLiteral("F4"), ProjectDataManagement::L19_Oi::F4}, // 4. Feuerstellung
|
{QStringLiteral("F4"), ProjectDataManagement::L19_Oi::L19_Oi_F4}, // 4. Feuerstellung
|
||||||
{QStringLiteral("F5"), ProjectDataManagement::L19_Oi::F5}, // 5. Feuerstellung
|
{QStringLiteral("F5"), ProjectDataManagement::L19_Oi::L19_Oi_F5}, // 5. Feuerstellung
|
||||||
{QStringLiteral("F6"), ProjectDataManagement::L19_Oi::F6}, // 6. Feuerstellung
|
{QStringLiteral("F6"), ProjectDataManagement::L19_Oi::L19_Oi_F6}, // 6. Feuerstellung
|
||||||
{QStringLiteral("F7"), ProjectDataManagement::L19_Oi::F7}, // 7. Feuerstellung
|
{QStringLiteral("F7"), ProjectDataManagement::L19_Oi::L19_Oi_F7}, // 7. Feuerstellung
|
||||||
{QStringLiteral("F8"), ProjectDataManagement::L19_Oi::F8}, // 8. Feuerstellung
|
{QStringLiteral("F8"), ProjectDataManagement::L19_Oi::L19_Oi_F8}, // 8. Feuerstellung
|
||||||
{QStringLiteral("F9"), ProjectDataManagement::L19_Oi::F9}, // 9. Feuerstellung
|
{QStringLiteral("F9"), ProjectDataManagement::L19_Oi::L19_Oi_F9}, // 9. Feuerstellung
|
||||||
{QStringLiteral("L"), ProjectDataManagement::L19_Oi::L} // Ladeplatz
|
{QStringLiteral("L"), ProjectDataManagement::L19_Oi::L19_Oi_L} // Ladeplatz
|
||||||
};
|
};
|
||||||
|
|
||||||
// EX-20 TargetType -> pdm_target_type
|
// EX-20 TargetType -> pdm_target_type
|
||||||
@@ -1460,11 +1460,11 @@ const QMap<QString, ProjectDataManagement::L19_Oi> ortsIdMap = {
|
|||||||
|
|
||||||
// EX-L22 Feuer HALT Kategorie
|
// EX-L22 Feuer HALT Kategorie
|
||||||
const QMap<QString, ProjectDataManagement::L22_FireHaltCategory> feuerHaltKategorieMap = {
|
const QMap<QString, ProjectDataManagement::L22_FireHaltCategory> feuerHaltKategorieMap = {
|
||||||
{QStringLiteral("A"), ProjectDataManagement::L22_FireHaltCategory::A}, // Feuer HALT Allgemein
|
{QStringLiteral("A"), ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_A}, // Feuer HALT Allgemein
|
||||||
{QStringLiteral("R"), ProjectDataManagement::L22_FireHaltCategory::R}, // Feuer HALT Referenziert
|
{QStringLiteral("R"), ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_R}, // Feuer HALT Referenziert
|
||||||
{QStringLiteral("E"), ProjectDataManagement::L22_FireHaltCategory::E}, // Feuer Einstellen
|
{QStringLiteral("E"), ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_E}, // Feuer Einstellen
|
||||||
{QStringLiteral("C"), ProjectDataManagement::L22_FireHaltCategory::C}, // Aufheben Feuer HALT Allgemein
|
{QStringLiteral("C"), ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_C}, // Aufheben Feuer HALT Allgemein
|
||||||
{QStringLiteral("F"), ProjectDataManagement::L22_FireHaltCategory::F}, // Aufheben Feuer HALT Referenziert
|
{QStringLiteral("F"), ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_F}, // Aufheben Feuer HALT Referenziert
|
||||||
};
|
};
|
||||||
|
|
||||||
// EX-L24 HQ(G) Art
|
// EX-L24 HQ(G) Art
|
||||||
|
|||||||
-1
@@ -31,7 +31,6 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void rxData(const T &data);
|
void rxData(const T &data);
|
||||||
|
|
||||||
|
|||||||
-1
@@ -74,7 +74,6 @@ public slots:
|
|||||||
void onGenericTelegram(const QJsonObject &telegram);
|
void onGenericTelegram(const QJsonObject &telegram);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data, bool bForce = false);
|
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data, bool bForce = false);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
NGL::INGLLogger &m_logger;
|
||||||
|
|||||||
-1
@@ -35,7 +35,6 @@ public:
|
|||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void onTimeout();
|
void onTimeout();
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void doCleanup();
|
void doCleanup();
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
NGL::INGLLogger &m_logger;
|
||||||
|
|||||||
-1
@@ -24,7 +24,6 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void rxData(const T &data);
|
void rxData(const T &data);
|
||||||
private:
|
private:
|
||||||
|
|||||||
-1
@@ -73,7 +73,6 @@ public:
|
|||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void onParticipantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
void onParticipantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data, bool bForce = false);
|
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data, bool bForce = false);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
NGL::INGLLogger &m_logger;
|
||||||
|
|||||||
-1
@@ -16,7 +16,6 @@ public:
|
|||||||
virtual ~ConvertFromJson() = default;
|
virtual ~ConvertFromJson() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
bool handleTelegram(const QByteArray &baJson, int &recvCounter);
|
bool handleTelegram(const QByteArray &baJson, int &recvCounter);
|
||||||
virtual void handleAcknowledge(qint64 timeStamp, int counter) = 0;
|
virtual void handleAcknowledge(qint64 timeStamp, int counter) = 0;
|
||||||
virtual void handleTetraConnectionChanged(bool bConnected) = 0;
|
virtual void handleTetraConnectionChanged(bool bConnected) = 0;
|
||||||
|
|||||||
-1
@@ -72,7 +72,6 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void outgoingMessage(const QByteArray &msg);
|
void outgoingMessage(const QByteArray &msg);
|
||||||
protected:
|
protected:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
protected:
|
protected:
|
||||||
NGL::INGLLogger &m_logger;
|
NGL::INGLLogger &m_logger;
|
||||||
int m_sendCounter;
|
int m_sendCounter;
|
||||||
|
|||||||
-1
@@ -64,7 +64,6 @@ public:
|
|||||||
bool txData(const TrainingAreaBase::TetraIcd::SetDevicePowerRequest &data) override;
|
bool txData(const TrainingAreaBase::TetraIcd::SetDevicePowerRequest &data) override;
|
||||||
bool txData(const TrainingAreaBase::TetraIcd::UAVPerformMission &data) override;
|
bool txData(const TrainingAreaBase::TetraIcd::UAVPerformMission &data) override;
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool sendToTxMixin(const T *data);
|
bool sendToTxMixin(const T *data);
|
||||||
private:
|
private:
|
||||||
|
|||||||
-1
@@ -67,7 +67,6 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void outgoingMessage(const QByteArray &msg);
|
void outgoingMessage(const QByteArray &msg);
|
||||||
protected:
|
protected:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
protected:
|
protected:
|
||||||
NGL::INGLLogger &m_logger;
|
NGL::INGLLogger &m_logger;
|
||||||
int m_sendCounter = 1;
|
int m_sendCounter = 1;
|
||||||
|
|||||||
-1
@@ -27,7 +27,6 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
void participantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void sfmData(const TrainingAreaBase::TetraIcd::WlsBinarySfmData &data);
|
void sfmData(const TrainingAreaBase::TetraIcd::WlsBinarySfmData &data);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|||||||
-1
@@ -68,7 +68,6 @@ public:
|
|||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void onParticipantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
void onParticipantConnectionState(int equipmentNumber, bool dataCommunicationPossible);
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool sendToTxBinary(const T *data);
|
bool sendToTxBinary(const T *data);
|
||||||
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data,
|
bool sendToTx(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram *data,
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ private Q_SLOTS:
|
|||||||
void onMainFootprintChanged(const InfrastructureManagement::MainFootprint &data, DataModification modType);
|
void onMainFootprintChanged(const InfrastructureManagement::MainFootprint &data, DataModification modType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void rotateBuildingFootprint(int mseId);
|
void rotateBuildingFootprint(int mseId);
|
||||||
void removeOpsDataByStructureElementId(int structureElementId);
|
void removeOpsDataByStructureElementId(int structureElementId);
|
||||||
void removeOpsAsset(int assetId);
|
void removeOpsAsset(int assetId);
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ public:
|
|||||||
bool isInTrainingArea(const TetraIcd::RelativePosition &relPos) const;
|
bool isInTrainingArea(const TetraIcd::RelativePosition &relPos) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
bool initCoordinateConversion() const;
|
bool initCoordinateConversion() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -156,7 +156,6 @@ public:
|
|||||||
void onSendExConfirmationReportRequest(const rti::core::SampleIdentity &cookie, const SendExConfirmationReportRequest &request) override;
|
void onSendExConfirmationReportRequest(const rti::core::SampleIdentity &cookie, const SendExConfirmationReportRequest &request) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
static Core::FunctionReplyObject fillFro(int participantId, bool bSuccess);
|
static Core::FunctionReplyObject fillFro(int participantId, bool bSuccess);
|
||||||
int calculateRemainEffectTasCode(int chargeTypeIdBase, int remainEffectPercent) const;
|
int calculateRemainEffectTasCode(int chargeTypeIdBase, int remainEffectPercent) const;
|
||||||
uint32_t getVulnerabilityVitalityIndexFromVitalityAndVba(uint32_t vulnerabilityKind, uint32_t vitality);
|
uint32_t getVulnerabilityVitalityIndexFromVitalityAndVba(uint32_t vulnerabilityKind, uint32_t vitality);
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ public:
|
|||||||
void rxData(const TetraIcd::UAVMissionStatus &inData) override;
|
void rxData(const TetraIcd::UAVMissionStatus &inData) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool setPosition(T &data,
|
bool setPosition(T &data,
|
||||||
const TetraIcd::AbsolutePosition &geoPos,
|
const TetraIcd::AbsolutePosition &geoPos,
|
||||||
|
|||||||
+3
-3
@@ -733,9 +733,9 @@ bool get(const QJsonObject &obj, const QString &key, ParticipantModeBase::Intern
|
|||||||
get(obj, key, iVal, bOptional);
|
get(obj, key, iVal, bOptional);
|
||||||
switch (static_cast<ParticipantModeBase::InternationalMode>(iVal))
|
switch (static_cast<ParticipantModeBase::InternationalMode>(iVal))
|
||||||
{
|
{
|
||||||
case ParticipantModeBase::InternationalMode::InternationalMode_NoChange:
|
case ParticipantModeBase::InternationalMode::NoChange:
|
||||||
case ParticipantModeBase::InternationalMode::InternationalMode_On:
|
case ParticipantModeBase::InternationalMode::On:
|
||||||
case ParticipantModeBase::InternationalMode::InternationalMode_Off:
|
case ParticipantModeBase::InternationalMode::Off:
|
||||||
val = static_cast<ParticipantModeBase::InternationalMode>(iVal);
|
val = static_cast<ParticipantModeBase::InternationalMode>(iVal);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1863,7 +1863,7 @@ struct ParticipantModeBase
|
|||||||
NoChange = 0,
|
NoChange = 0,
|
||||||
Off = 1,
|
Off = 1,
|
||||||
On = 2
|
On = 2
|
||||||
} internationalMode = InternationalMode::InternationalMode_NoChange;
|
} internationalMode = InternationalMode::NoChange;
|
||||||
|
|
||||||
enum class ABCProtectionMode
|
enum class ABCProtectionMode
|
||||||
{
|
{
|
||||||
|
|||||||
-1
@@ -40,7 +40,6 @@ signals:
|
|||||||
void disconnectedFromEq();
|
void disconnectedFromEq();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NGL::INGLLogger &m_logger;
|
|
||||||
void initCanSocket();
|
void initCanSocket();
|
||||||
void newDataAvailable(const QByteArray &);
|
void newDataAvailable(const QByteArray &);
|
||||||
bool findNextSyncByte(int &iCurReadPos) const;
|
bool findNextSyncByte(int &iCurReadPos) const;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace TrainingAreaBaseOC
|
|||||||
{
|
{
|
||||||
using LOGGER_T = NGL::INGLLogger&;
|
using LOGGER_T = NGL::INGLLogger&;
|
||||||
|
|
||||||
TABOC_COMMON_EXPORT LOGGER_T getLogger(const char *name);
|
SVCTABOCCOMMON_EXPORT LOGGER_T getLogger(const char *name);
|
||||||
inline LOGGER_T getLogger(const QString &loggerName)
|
inline LOGGER_T getLogger(const QString &loggerName)
|
||||||
{
|
{
|
||||||
return getLogger(loggerName.toUtf8().constData());
|
return getLogger(loggerName.toUtf8().constData());
|
||||||
|
|||||||
Reference in new issue
Block a user