Skip to main content

AVxcelerate Simulation Framework 2024 R2

topic_registry

Last update: 12.07.2024
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 GenericBytesTopicType = Topic<rtidds::GenericBytesMessage>;
88 
90 // "KpiLoggerTopic" -> KpiMessageTopicType
91 // "DriverInputTopic" -> KpiMessageTopicType
92 // "SensorViewTopic" -> GenericBytesTopicType
93 // "TrafficUpdateTopic" -> GenericBytesTopicType
94 // "TrafficCommandTopic" -> GenericBytesTopicType
95 // "StringTestTopic" -> StringTopicType
96 
97 std::shared_ptr<ITopic> 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