Common
common packages for kyubic
 
Loading...
Searching...
No Matches
system_health_check_base.hpp
Go to the documentation of this file.
1
10#ifndef _SYSTEM_CHECK_BASE_HPP
11#define _SYSTEM_CHECK_BASE_HPP
12
13#include <rclcpp/rclcpp.hpp>
14
15namespace system_health_check
16{
17
24{
25public:
26 virtual ~SystemCheckBase() {}
27
33 virtual bool check(rclcpp::Node::SharedPtr node) = 0;
34
41 virtual std::string report(rclcpp::Node::SharedPtr node) = 0;
42};
43
44} // namespace system_health_check
45
46#endif // !_SYSTEM_CHECK_BASE_HPP
Abstract base class for all system check plugins.
Definition: system_health_check_base.hpp:24
virtual std::string report(rclcpp::Node::SharedPtr node)=0
Generates a detailed report of the check.
virtual ~SystemCheckBase()
Definition: system_health_check_base.hpp:26
virtual bool check(rclcpp::Node::SharedPtr node)=0
Virtual function to execute the check.
Definition: action_server_check_base.hpp:25