Class StatPublisher

Class Documentation

class StatPublisher

Create and manage a TopicStatistics publisher for one Node.

Public Functions

StatPublisher(rcpputils::SharedLibrary *rmw_impl, rmw_node_t *node, std::string &stats_topic_name)
virtual ~StatPublisher()
void publish(rosgraph_monitor_msgs::msg::TopicStatistics &msg) const

Public Members

rmw_publisher_t *pub_
rmw_node_t *node_

Protected Attributes

rmw_publisher_options_t pub_opts_
decltype(rmw_create_publisher) *create_publisher_
decltype(rmw_destroy_publisher) *destroy_publisher_
decltype(rmw_publish) *publish_