    

 ## On this page

  

 

 # File autonomy/communication/topic\_registry/topic\_registry.h

 Last update: 22.04.2026 

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")

**Location**: `autonomy/communication/topic_registry/topic_registry.h`

© 2025-2026 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

Autonomy Topic Registry mapping and RTI-DDS usage guidance

This header documents how Autonomy Topic IDs map to concrete Topic types from `simulation_framework::core::topic_registry`, and shows how the underlying RTI-DDS messages can be published/subscribed in Activities.

See also:

- `[core/communication/topic_registry.h](core_2communication_2topic__registry_8h.md for canonical Topic type aliases and examples`
- `documentation/markdown/communication.md` for concepts and protobuf-bytes walkthrough

## Namespaces

- [simulation\_framework](namespacesimulation__framework.md#namespacesimulation__framework)
- [simulation\_framework::autonomy](namespacesimulation__framework_1_1autonomy.md#namespacesimulation__framework_1_1autonomy)
- [topic\_registry](namespacetopic__registry.md#namespacetopic__registry)
- [simulation\_framework::autonomy::topic\_registry](namespacesimulation__framework_1_1autonomy_1_1topic__registry.md#namespacesimulation__framework_1_1autonomy_1_1topic__registry)

## Includes

- [core/communication/topic\_registry.h](core_2communication_2topic__registry_8h.md#core_2communication_2topic__registry_8h)

## Source

```cpp


#ifndef SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_TOPICREGISTRY_TOPICREGISTRY_H
#define SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_TOPICREGISTRY_TOPICREGISTRY_H

#include "core/communication/topic_registry.h"

namespace simulation_framework
{
namespace autonomy
{
namespace topic_registry
{

using ScenarioVariableTopicType = simulation_framework::core::topic_registry::VariantMapTopicType;

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

}  // namespace topic_registry
}  // namespace autonomy
}  // namespace simulation_framework
#endif  // SIMFWK_AUTONOMY_AUTONOMY_COMMUNICATION_TOPICREGISTRY_TOPICREGISTRY_H

```