Public Member Functions
diagnostic_aggregator::DiscardAnalyzer Class Reference

DiscardAnalyzer is does not report any values. It is a subclass of GenericAnalyzer. More...

#include <discard_analyzer.h>

Inheritance diagram for diagnostic_aggregator::DiscardAnalyzer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DiscardAnalyzer ()
 Default constructor loaded by pluginlib.
virtual std::vector
< boost::shared_ptr
< diagnostic_msgs::DiagnosticStatus > > 
report ()
 Reports current state, returns vector of formatted status messages.
virtual ~DiscardAnalyzer ()

Detailed Description

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>
 *

Definition at line 68 of file discard_analyzer.h.


Constructor & Destructor Documentation

Default constructor loaded by pluginlib.

Definition at line 49 of file discard_analyzer.cpp.


Member Function Documentation

vector< boost::shared_ptr< diagnostic_msgs::DiagnosticStatus > > DiscardAnalyzer::report ( ) [virtual]

Reports current state, returns vector of formatted status messages.

Returns:
Vector of DiagnosticStatus messages, with correct prefix for all names.

Reimplemented from diagnostic_aggregator::GenericAnalyzer.

Definition at line 53 of file discard_analyzer.cpp.


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


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Tue Mar 26 2019 03:09:37