- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
56 lines
1.4 KiB
C++
Executable File
56 lines
1.4 KiB
C++
Executable File
/**
|
|
* DdsHandler for DDS
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hanna E. Rathje, SLSE, 2015-09-02
|
|
*/
|
|
#pragma once
|
|
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
#include <DDS/Core/topic_lock_master.h>
|
|
#include <DDS/Core/core_dtc.h>
|
|
|
|
#include <ParticipantManagement/ppm.hpp>
|
|
|
|
#include <Messaging/msg_dts.h>
|
|
#include <Messaging/msg_fts.h>
|
|
#include "logger.h"
|
|
|
|
namespace Core
|
|
{
|
|
class Pacemaker;
|
|
}
|
|
|
|
namespace Messaging
|
|
{
|
|
class DdsHandler final : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DdsHandler(int domainId);
|
|
|
|
bool init(const QStringList &qosFileList = QStringList());
|
|
bool enableEquipmentMessage();
|
|
|
|
std::shared_ptr<DDSConnector::DdsConnector> ddsConnector() const { return m_ddsConnector; }
|
|
std::shared_ptr<Core::Pacemaker> pacemaker() const { return m_pacemaker; }
|
|
std::shared_ptr<Core::TopicLockMaster> topicLockMaster() const { return m_topicLockMaster; }
|
|
std::shared_ptr<Messaging::Interface::Dts> dts() const { return m_ddsDts; }
|
|
std::shared_ptr<Messaging::Interface::Fts> fts() const { return m_ddsFts; }
|
|
|
|
qint64 currentPartitionTime() const;
|
|
|
|
private:
|
|
|
|
|
|
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
|
std::shared_ptr<Core::Interface::Dtc> m_dtcCore;
|
|
std::shared_ptr<Core::Pacemaker> m_pacemaker;
|
|
std::shared_ptr<Core::TopicLockMaster> m_topicLockMaster;
|
|
std::shared_ptr<Messaging::Interface::Dts> m_ddsDts;
|
|
std::shared_ptr<Messaging::Interface::Fts> m_ddsFts;
|
|
};
|
|
|
|
}
|