43 lines
1.1 KiB
C++
Executable File
43 lines
1.1 KiB
C++
Executable File
|
|
|
|
#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.hpp>
|
|
#include <LtsUtils/LtsUtilsCore/data_modification_enum.h>
|
|
#include <LtsUtils/LtsUtilsGui/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:
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
std::shared_ptr<AreaEffectSimulation::Interface::Ftc> m_ftcAes;
|
|
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtcPpm;
|
|
LtsUtils::RequestHelper *m_requestHelper;
|
|
};
|
|
|
|
}
|