> ## 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.

# File autonomy/communication/topic_registry/topic_registry.h

![][C++]

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

© 2025 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](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework.md)
* [simulation\_framework::autonomy](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework_1_1autonomy.md)
* [topic\_registry](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacetopic__registry.md)
* [simulation\_framework::autonomy::topic\_registry](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/namespacesimulation__framework_1_1autonomy_1_1topic__registry.md)

## Includes

* [core/communication/topic\_registry.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/2026-r1/reference/core_2communication_2topic__registry_8h.md)

## Source

```cpp theme={null}


#ifndef AUTONOMY_COMMUNICATION_TOPIC_REGISTRY_TOPIC_REGISTRY_H
#define AUTONOMY_COMMUNICATION_TOPIC_REGISTRY_TOPIC_REGISTRY_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  // AUTONOMY_COMMUNICATION_TOPIC_REGISTRY_TOPIC_REGISTRY_H
```

[private]: https://img.shields.io/badge/-private-red "private"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[const]: https://img.shields.io/badge/-const-lightblue "const"

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

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
