/** * DdsHandler for DDS * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-09-02 */ #pragma once #include #include #include #include #include "logger.h" class QThread; namespace Core { class Pacemaker; } namespace ExerciseEventManagement { class DdsHandler final { public: DdsHandler(int domainId, int partitionId, IDL::PartitionType partitionType); ~DdsHandler(); bool init(const QStringList &qosFileList = QStringList()); void setRunningState(Core::RunningState rs); void addPortToPacemaker(quint16 port, Core::PortType type); std::shared_ptr ddsConnector() const { return m_ddsConnector; } std::shared_ptr dts() const { return m_ddsDts; } std::shared_ptr dtcIsm() const { return m_dtcIsm;} ///< Pointer to DTC InfrastructureManagement interface object private: std::shared_ptr m_ddsConnector; std::shared_ptr m_ddsDts; std::shared_ptr m_dtcIsm; ///< Pointer to DTC InfrastructureManagement interface object Core::Pacemaker *m_pacemaker = nullptr; NGL::INGLLogger &m_logger; }; }