Struct RosGraphMonitor::EndpointTracking

Nested Relationships

This struct is a nested type of Class RosGraphMonitor.

Struct Documentation

struct EndpointTracking

Keeps information and flags about observed Publishers/Subscriptions over time.

Public Functions

EndpointTracking(const std::string &topic_name, const rclcpp::TopicEndpointInfo &info, const rclcpp::Time &now)

Public Members

bool stale = false
const std::string topic_name
const std::string node_name
const rclcpp::TopicEndpointInfo info
rclcpp::Time last_stats_timestamp
std::optional<rosgraph_monitor_msgs::msg::TopicStatistic> period_stat