Skip to main content

AVxcelerate Simulation Framework 2024 R1

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/generic_bytes/generic_bytes.hpp"
11 #include "core/message/rtidds/kpi/kpi_message.hpp"
12 
13 namespace simulation_framework
14 {
15 namespace core
16 {
22 namespace topic_registry
23 {
24 
84 using StringTopicType = Topic<dds::core::StringTopicType>;
86 using KpiMessageTopicType = Topic<rtidds::KpiMessage>;
87 using OsiMessageTopicType = Topic<rtidds::GenericBytesMessage>;
88 
90 // "KpiLoggerTopic" -> KpiMessageTopicType
91 // "DriverInputTopic" -> KpiMessageTopicType
92 // "SensorViewTopic" -> OsiMessageTopicType
93 // "TrafficUpdateTopic" -> OsiMessageTopicType
94 // "TrafficCommandTopic" -> OsiMessageTopicType
95 // "StringTestTopic" -> StringTopicType
96 
97 TopicPtr GetExistingTopicById(const std::string& topic_id);
98 
99 } // namespace topic_registry
100 } // namespace core
101 } // namespace simulation_framework
102 
107 namespace rtidds
108 {
109 // for doxygen documentation
110 }

Connect with Ansys