/** * DdsHandler for DDS * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Dassow, NLST, 2018-01-23 */ #pragma once #include #include #include #include #include #include #include #include "logger.h" namespace NGL { class INGLLogger; } namespace Core { class Pacemaker; } namespace TrainingAreaBaseOC { class DdsHandler { public: DdsHandler(int domainId, int exerciseId); bool init(const QStringList &qosFileList = QStringList()); std::shared_ptr pacemaker() const { return m_pacemaker; } std::shared_ptr dtsTaboc() const { return m_dtsTaboc; } std::shared_ptr dtcTaboc() const { return m_dtcTaboc; } std::shared_ptr ftsTaboc() const { return m_ftsTaboc; } std::shared_ptr dtsTab() const { return m_dtsTab; } std::shared_ptr ftsTab() const { return m_ftsTab; } std::shared_ptr ddsConnector() const { return m_ddsConnector; } qint64 currentPartitionTime() const; private: std::shared_ptr m_ddsConnector; std::shared_ptr m_pacemaker; std::shared_ptr m_dtcCore; std::shared_ptr m_dtsTaboc; std::shared_ptr m_dtcTaboc; std::shared_ptr m_ftsTaboc; std::shared_ptr m_dtsTab; std::shared_ptr m_ftsTab; NGL::INGLLogger &m_logger; }; }