Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+38
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Handle a nine-liner from a nasat aircraft and publish them
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2019-12-01
|
||||
*/
|
||||
|
||||
#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:
|
||||
QHash<ExerciseParticipantKey, QVector<Nasat9Liner>> m_nineLiner;
|
||||
Initialization *m_mainHandler;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
} // namespace GuezNasat
|
||||
Reference in new issue
Block a user