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

50 lines
1.2 KiB
C++
Executable File

/**
* IsmHandler for WirelessLocationSystem
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-04-14
*/
#pragma once
#include "main_dispatcher.h"
#include "logger.h"
#include "dds_handler.h"
#include <AreaEffectSimulation/aes.hpp>
#include <AreaEffectSimulation/aes_ftc.h>
#include <ParticipantManagement/ppm.hpp>
#include <ParticipantManagement/ppm_dtc.h>
#include <LtsUtilsCore/data_modification_enum.h>
#include <LtsUtilsGuiDds/request_helper.h>
#include <QObject>
#include <QHash>
#include <QUrl>
#include <QDateTime>
namespace ApHlaJson
{
class MainDispatcher;
class AesHandler : public QObject
, protected AreaEffectSimulation::Interface::Ftc::AirSupportImpactModifyReplyHandler
{
Q_OBJECT
public:
explicit AesHandler(QObject *parent = nullptr);
bool init(MainDispatcher* mainDispatcher);
bool sendAesModifyRequest(const QJsonObject &obj);
void onAirSupportImpactModifyReply(const Core::FunctionReplyObject &reply);
private:
std::shared_ptr<AreaEffectSimulation::Interface::Ftc> m_ftcAes;
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtcPpm;
LtsUtils::RequestHelper *m_requestHelper;
LOGGER_T m_logger;
};
} // namespace ApHlaJson