INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
gbxutilacfr::SubHealth Class Reference

Convenience class which allows feedback on the health of a subsystem. More...

#include <subhealth.h>

Public Member Functions

 SubHealth (Status &sysStatus, const std::string &subsysName)
 
void heartbeat ()
 Passes this information to the system Status.
 
void message (const std::string &message)
 Passes this information to the system Status.
 
void ok (const std::string &message="")
 Passes this information to the system Status.
 
void warning (const std::string &message)
 Passes this information to the system Status.
 
void critical (const std::string &message)
 Passes this information to the system Status.
 
std::string name () const
 Returns subsystem's name.
 

Detailed Description

Convenience class which allows feedback on the health of a subsystem.

Overview

Provides a convenient interface for setting health information for one subsystem.

See also
Status, SubsystemStatus

Constructor & Destructor Documentation

◆ SubHealth()

gbxutilacfr::SubHealth::SubHealth ( Status sysStatus,
const std::string &  subsysName 
)
inline

Sets a reference to the system Status and this subsystem's name. Adds this subsystem to the system.


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

Generated for GearBox by  doxygen 1.4.5