Struct TopicInfo

Struct Documentation

struct TopicInfo

Result of a topic discovery operation.

Public Members

std::string name

Full topic path (e.g., “/powertrain/engine/temperature”)

std::string type

Message type (e.g., “sensor_msgs/msg/Temperature”)

size_t publisher_count = {0}

Number of publishers on this topic.

size_t subscriber_count = {0}

Number of subscribers on this topic.