/** * DdsHandler for DDS * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-09-02 */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include "logger.h" namespace EffectShowManagement { class DdsHandler final { public: explicit DdsHandler(const std::shared_ptr &ddsConnector); bool init(const QStringList &qosFileList = QStringList()); std::shared_ptr ddsConnector() const { return m_ddsConnector; } std::shared_ptr topicLockMaster() const { return m_topicLockMaster; } std::shared_ptr dts() const { return m_ddsDts; } std::shared_ptr fts() const { return m_ddsFts; } std::shared_ptr dtcAes() const { return m_dtcAes; } std::shared_ptr ftcAes() const { return m_ftcAes; } std::shared_ptr dtcPpm() const { return m_dtcPpm; } std::shared_ptr dtcPdm() const { return m_dtcPdm; } std::shared_ptr dtcMdm() const { return m_dtcMdm; } std::shared_ptr dtcTab() const { return m_dtcTab; } std::shared_ptr ftcTab() const { return m_ftcTab; } int exerciseId() const { return m_ddsConnector->getPartitionId(); } qint64 currentPartitionTime() const; private: std::shared_ptr m_ddsConnector; std::shared_ptr m_topicLockMaster; std::shared_ptr m_dtcCore; std::shared_ptr m_ddsDts; std::shared_ptr m_ddsFts; std::shared_ptr m_dtcAes; std::shared_ptr m_ftcAes; std::shared_ptr m_dtcPpm; std::shared_ptr m_dtcPdm; std::shared_ptr m_dtcMdm; std::shared_ptr m_dtcTab; std::shared_ptr m_ftcTab; NGL::INGLLogger &m_logger; }; } // namespace EffectShowManagement