34 lines
678 B
C++
Executable File
34 lines
678 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "guez_nasat_telegrams.h"
|
|
#include "handler_participant.h"
|
|
#include "logger.h"
|
|
#include <GuezNasat/gna_dtc.h>
|
|
#include <QHash>
|
|
#include <QObject>
|
|
|
|
namespace GuezNasat
|
|
{
|
|
class Initialization;
|
|
class HandlerNasatNineLiner final : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit HandlerNasatNineLiner(Initialization *mainHandler);
|
|
|
|
bool init() const;
|
|
|
|
public Q_SLOTS:
|
|
void nineLinerReceived(const NasatNineLiner &nasatNineLiner);
|
|
void onNasatAircraftParticipantRemoved(const NasatAircraftParticipant &nap);
|
|
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
QHash<ExerciseParticipantKey, QVector<Nasat9Liner>> m_nineLiner;
|
|
Initialization *m_mainHandler;
|
|
};
|
|
}
|