Struct NativeTopicSampler::TopicDiscoveryResult

Nested Relationships

This struct is a nested type of Class NativeTopicSampler.

Struct Documentation

struct TopicDiscoveryResult

Result of topic-based discovery containing namespaces and their topics.

This struct aggregates all topic-based discovery results to avoid multiple ROS 2 graph queries (N+1 query problem).

Public Members

std::set<std::string> namespaces

Unique namespace prefixes.

std::map<std::string, ComponentTopics> topics_by_ns

Topics grouped by namespace.