> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# topic_registry.h

```cpp theme={null}
#pragma once

#include "core/communication/topic.h"
#include "core/message/rtidds/common/common.hpp"
#include "core/message/rtidds/fmu/fmu_message.hpp"
#include "core/message/rtidds/generic_bytes/generic_bytes.hpp"
#include "core/message/rtidds/kpi/kpi_message.hpp"

namespace simulation_framework
{
namespace core
{
namespace topic_registry
{

using StringTopicType = Topic<rtidds::CommonString>;
using KpiMessageTopicType = Topic<rtidds::KpiMessage>;
using GenericBytesTopicType = Topic<rtidds::GenericBytesMessage>;
using FmuMessageTopicType = Topic<rtidds::FmuMessage>;

// "KpiLoggerTopic"         ->     KpiMessageTopicType
// "DriverInputTopic"       ->     KpiMessageTopicType
// "SensorViewTopic"        ->     GenericBytesTopicType
// "SensorDataTopic"        ->     GenericBytesTopicType
// "TrafficUpdateTopic"     ->     GenericBytesTopicType
// "TrafficCommandTopic"    ->     GenericBytesTopicType
// "FmuInput"               ->     FmuMessageTopicType
// "FmuOutput"              ->     FmuMessageTopicType

std::shared_ptr<ITopic> GetExistingTopicById(const std::string& topic_id);

}  // namespace topic_registry
}  // namespace core
}  // namespace simulation_framework

namespace rtidds
{
// for doxygen documentation
}
```
