topic_registry Last update: 16.07.2025 1 5 6 #pragma once 7 8 #include "core/communication/topic.h" 9 #include "core/message/rtidds/common/common.hpp" 10 #include "core/message/rtidds/fmu/fmu_message.hpp" 11 #include "core/message/rtidds/generic_bytes/generic_bytes.hpp" 12 #include "core/message/rtidds/kpi/kpi_message.hpp" 13 14 namespace simulation_framework 15 { 16 namespace core 17 { 23 namespace topic_registry 24 { 25 85 using StringTopicType = Topic<dds::core::StringTopicType>; 87 using KpiMessageTopicType = Topic<rtidds::KpiMessage>; 88 using GenericBytesTopicType = Topic<rtidds::GenericBytesMessage>; 89 using FmuMessageTopicType = Topic<rtidds::FmuMessage>; 90 92 // "KpiLoggerTopic" -> KpiMessageTopicType 93 // "DriverInputTopic" -> KpiMessageTopicType 94 // "SensorViewTopic" -> GenericBytesTopicType 95 // "SensorDataTopic" -> GenericBytesTopicType 96 // "TrafficUpdateTopic" -> GenericBytesTopicType 97 // "TrafficCommandTopic" -> GenericBytesTopicType 98 // "StringTestTopic" -> StringTopicType 99 // "FmuInput" -> FmuMessageTopicType 100 // "FmuOutput" -> FmuMessageTopicType 101 102 std::shared_ptr<ITopic> GetExistingTopicById(const std::string& topic_id); 103 104 } // namespace topic_registry 105 } // namespace core 106 } // namespace simulation_framework 107 112 namespace rtidds 113 { 114 // for doxygen documentation 115 }