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

56 lines
1.4 KiB
C++
Executable File

/**
* Send AES data to NGS
* $Id$
* $HeadURL$
* $Author$
* Created by Hannes Baeuerle, SLSE, 2017-05-08
*/
#pragma once
#include <QObject>
#include <AreaEffectSimulation/aes_dtc.h>
#include <AreaEffectSimulation/aes_ftc.h>
#include <ParticipantManagement/ppm_dtc.h>
#include <LtsUtilsGuiDds/request_helper.h>
#include <Common/logger.h>
//#include "typestruct.h"
namespace HighLevelArchitecture
{
class NgsHandler;
struct ParticipantPosition;
class AesHandler : public QObject
, protected AreaEffectSimulation::Interface::Ftc::AirSupportImpactModifyReplyHandler
{
Q_OBJECT
public:
explicit AesHandler(NgsHandler *ngsHandler);
int64_t externalId(int aesItemId) const;
bool init();
void onAirSupportImpactModifyReply(const Core::FunctionReplyObject &reply);
private Q_SLOTS:
void onAirSupportImpact(AreaEffectSimulation::AirSupportImpactModifyRequest asi, int equipmentNumber);
private:
NgsHandler *m_ngsHandler;
std::shared_ptr<AreaEffectSimulation::Interface::Dtc> m_dtcAes;
std::shared_ptr<AreaEffectSimulation::Interface::Ftc> m_ftcAes;
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtcPpm;
QMap<int, ProjectDataManagement::ChargeType> m_chargeTypes;
QMap<int, void*> m_pendingRequests;
LtsUtils::RequestHelper *m_requestHelper;
NGL::INGLLogger &m_logger;
};
} // namespace HighLevelArchitecture