Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+40
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* The ProxyEmulator class emulates FTs of the TetraRadio Proxy to send position data
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Hannes Baeuerle, SLSE, 2016-08-09
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QVector>
|
||||
#include <DDS/DDSConnector/dds_connector.h>
|
||||
#include <TrainingAreaBase/tab_dts.h>
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
#include <ParticipantManagement/ppm.hpp>
|
||||
|
||||
namespace VulnerabilityStateGenerator
|
||||
{
|
||||
class ProxyEmulator
|
||||
: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ProxyEmulator(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector, QObject *parent = nullptr);
|
||||
|
||||
bool init();
|
||||
|
||||
void giveInitState(const QMap<qint32, ParticipantManagement::Participant> &participants);
|
||||
void publishNewState(ProjectDataManagement::VulnerabilityState newState, ParticipantManagement::Participant participant);
|
||||
|
||||
private: // methods
|
||||
|
||||
private: // attributes
|
||||
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
||||
std::shared_ptr<TrainingAreaBase::Interface::Dts> m_tabDts;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user