Class DiscardAnalyzer
Defined in File discard_analyzer.hpp
Inheritance Relationships
Base Type
public diagnostic_aggregator::GenericAnalyzer
(Class GenericAnalyzer)
Class Documentation
-
class DiscardAnalyzer : public diagnostic_aggregator::GenericAnalyzer
DiscardAnalyzer is does not report any values. It is a subclass of GenericAnalyzer.
DiscardAnalyzer is a subclass of GenericAnalyzer. It will ignore any value that it matches. It takes the any of the parameters of a GenericAnalyzer.
It is useful for configuring an aggregator_node to ignore certain values in the diagnostics.
*<launch> * <include file="$(find my_pkg)/my_analyzers.launch" /> * * <!-- Overwrite a specific Analyzer to discard all --> * <param name="diag_agg/analyzers/motors/type" value="DiscardAnalyzer" /> *</launch> *
Public Functions
-
DIAGNOSTIC_AGGREGATOR_PUBLIC DiscardAnalyzer()
Default constructor loaded by pluginlib.
-
virtual DIAGNOSTIC_AGGREGATOR_PUBLIC ~DiscardAnalyzer()
- virtual DIAGNOSTIC_AGGREGATOR_PUBLIC std::vector< std::shared_ptr< diagnostic_msgs::msg::DiagnosticStatus > > report ()
Reports current state, returns vector of formatted status messages.
- Returns:
Vector of DiagnosticStatus messages, with correct prefix for all names.
-
DIAGNOSTIC_AGGREGATOR_PUBLIC DiscardAnalyzer()