Files
qt5-legatus-legacy/Lts/Proxies/TrainingAreaBase/Plugins/ApacheHlaJson/plugin.cpp
T
2026-08-13 18:33:10 +02:00

59 lines
1.9 KiB
C++
Executable File

/**
* Send / Receive telegrams to/from TX/RX directory
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-09-26
*/
#include "plugin.h"
#include "main_dispatcher.h"
#include <nglsettings/nglsettings_settings.h>
namespace ApHlaJson
{
//
// TetraXdrPlugin
//
/*!
\brief
\author Niklas Schmidt
\details Plugin to integrate Apache with Hla Enviroment. The plugin receive data from HLA and forward
the data to Excon and Tetra.
Communication directions:
- Excon -> Hla
-# Init \ref hla_handler_rx.cpp
-# VulnerabilityStateChange \ref ppm_handler.cpp
-# ParticipantPositionChanged \ref ppm_handler.cpp
-# ParticipantChanged \ref ppm_handler.cpp
-# SendAllChargeTypes \ref pdm_handler.cpp
- HLA -> Tetra
-# CesHitInformation \ref hla_handler_tx.cpp
- HLA -> Excon
-# PositionReport \ref hla_handler_rx.cpp Defined in \ref training_area_telegrams.cpp
-# StateChangeDirect
-# StateChange
-# StateChangeIndirect
-# EquipmentGearEvent
-# EquipmentGearAssignment
-# EquipmentGearChargeState
-# SpecialSensorData
-# AesModifyRequest \ref aes_handler.cpp
-# ApacheLaserDesignation \ref hla_handler_rx.cpp
\param pdp
\param recvFromTabCb
\param sendToTabCb
\param settings
\return std::shared_ptr<TrainingAreaBase::Plugin::Interface>
*/
std::shared_ptr<TrainingAreaBase::Plugin::Interface> TabApHlaPlugin::createInterface(TrainingAreaBase::Plugin::DataProvider *pdp,
const std::shared_ptr<TrainingAreaBase::RecvFromTab> &recvFromTabCb,
const std::shared_ptr<TrainingAreaBase::TxMixin> &sendToTabCb,
NGL::Settings *settings)
{
return std::make_shared<MainDispatcher>(pdp, recvFromTabCb, sendToTabCb, settings);
}
} // namespace HlaJson