Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

topic_registry

Last update: 19.09.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
19{
20namespace core
21{
27namespace topic_registry
28{
29
90using StringTopicType = Topic<rtidds::CommonString>;
91using KpiMessageTopicType = Topic<rtidds::KpiMessage>;
92using GenericBytesTopicType = Topic<rtidds::GenericBytesMessage>;
93using FmuMessageTopicType = Topic<rtidds::FmuMessage>;
94
96// "KpiLoggerTopic" -> KpiMessageTopicType
97// "DriverInputTopic" -> KpiMessageTopicType
98// "SensorViewTopic" -> GenericBytesTopicType
99// "SensorDataTopic" -> GenericBytesTopicType
100// "TrafficUpdateTopic" -> GenericBytesTopicType
101// "TrafficCommandTopic" -> GenericBytesTopicType
102// "FmuInput" -> FmuMessageTopicType
103// "FmuOutput" -> FmuMessageTopicType
104
105std::shared_ptr<ITopic> GetExistingTopicById(const std::string& topic_id);
106
107} // namespace topic_registry
108} // namespace core
109} // namespace simulation_framework
110
115namespace rtidds
116{
117// for doxygen documentation
118}
The namespace for all core functionalities under namespace simulation_framework.
A dedicated namespace for messages in RTI-DDS communication.
The top namespace for simulation framework.
The namespace for topic registry in communication module under namespace simulation_framework::core.

Connect with Ansys