Common
common packages for kyubic
 
Loading...
Searching...
No Matches
system_health_check::base::TopicPublisherCheckBase Class Reference

Checks if there are any PUBLISHERS for the specified topic. More...

#include <topic_pub_sub_check_base.hpp>

+ Inheritance diagram for system_health_check::base::TopicPublisherCheckBase:
+ Collaboration diagram for system_health_check::base::TopicPublisherCheckBase:

Additional Inherited Members

- Public Member Functions inherited from system_health_check::base::SystemCheckBase
virtual ~SystemCheckBase ()
 
bool check (rclcpp::Node::SharedPtr node)
 Executes the system check with caching support.
 
std::string report (rclcpp::Node::SharedPtr node)
 Generates a human-readable report of the check.
 
- Protected Member Functions inherited from system_health_check::base::TopicCountCheckBase
void set_config (const std::string topic_name, const uint32_t timeout_ms, const size_t expected_count=1, const ComparisonMode mode=ComparisonMode::EQUAL)
 Configure the check settings.
 
virtual void prepare_check (rclcpp::Node::SharedPtr node) override=0
 Prepares the check before execution.
 
virtual size_t get_count (rclcpp::Node::SharedPtr node, const std::string &topic)=0
 
virtual std::string get_target_type () const =0
 
virtual std::string get_unique_id () const
 Generates a unique identifier for the check instance.
 
virtual void prepare_check (rclcpp::Node::SharedPtr node)
 Prepares the check before execution.
 
virtual bool check_impl (rclcpp::Node::SharedPtr node)=0
 Actual implementation of the check logic.
 
virtual std::string report_impl (rclcpp::Node::SharedPtr node)=0
 Generates a detailed report of the check.
 
- Protected Attributes inherited from system_health_check::base::TopicCountCheckBase
std::string topic_name_
 
uint32_t timeout_ms_ = 1000
 
size_t expected_count_ = 1
 
ComparisonMode mode_ = ComparisonMode::GREATER_OR_EQUAL
 

Detailed Description

Checks if there are any PUBLISHERS for the specified topic.


The documentation for this class was generated from the following file: