Public Member Functions | Protected Attributes | List of all members
rosmon::DiagnosticsPublisher Class Reference

#include <diagnostics_publisher.h>

Public Member Functions

 DiagnosticsPublisher (const std::string &diagnosticsPrefix)
 
void publish (const std::vector< rosmon::monitor::NodeMonitor::Ptr > &state)
 

Protected Attributes

std::string m_diagnosticNamePrefix = "rosmon"
 
ros::Publisher m_diagnosticsPublisher
 

Detailed Description

Definition at line 15 of file diagnostics_publisher.h.

Constructor & Destructor Documentation

rosmon::DiagnosticsPublisher::DiagnosticsPublisher ( const std::string &  diagnosticsPrefix)
explicit

Definition at line 37 of file diagnostics_publisher.cpp.

Member Function Documentation

void rosmon::DiagnosticsPublisher::publish ( const std::vector< rosmon::monitor::NodeMonitor::Ptr > &  state)

Definition at line 48 of file diagnostics_publisher.cpp.

Member Data Documentation

std::string rosmon::DiagnosticsPublisher::m_diagnosticNamePrefix = "rosmon"
protected

Definition at line 22 of file diagnostics_publisher.h.

ros::Publisher rosmon::DiagnosticsPublisher::m_diagnosticsPublisher
protected

Definition at line 23 of file diagnostics_publisher.h.


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


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12