Struct TopicInfo

Struct Documentation

struct TopicInfo

Result of a topic discovery operation.

Transport-neutral. Returned by TopicDataProvider::discover and friends.

Public Members

std::string name

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

std::string type

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

std::size_t publisher_count = {0}

Number of publishers on this topic.

std::size_t subscriber_count = {0}

Number of subscribers on this topic.