Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
rosdiagnostic.rosdiagnostic.RosDiagnostics Class Reference

List of all members.

Public Member Functions

def __init__

Static Public Attributes

dictionary DIAG_MSG_LVL_STR_COLOR
dictionary DIAG_MSG_LVL_STR_NOCOLOR

Private Member Functions

def _diag_callback
def _get_leaf_statuses
def _get_non_leaf_statuses
def _get_ns
def _print_begin_banner
def _print_end_banner
def _print_status

Private Attributes

 _lvl_strings_map
 _options

Detailed Description

Definition at line 71 of file rosdiagnostic.py.


Constructor & Destructor Documentation

Definition at line 87 of file rosdiagnostic.py.


Member Function Documentation

def rosdiagnostic.rosdiagnostic.RosDiagnostics._diag_callback (   self,
  msg 
) [private]

Definition at line 115 of file rosdiagnostic.py.

def rosdiagnostic.rosdiagnostic.RosDiagnostics._get_leaf_statuses (   self,
  statuses 
) [private]

Definition at line 99 of file rosdiagnostic.py.

Definition at line 96 of file rosdiagnostic.py.

def rosdiagnostic.rosdiagnostic.RosDiagnostics._get_ns (   self,
  name 
) [private]

Definition at line 92 of file rosdiagnostic.py.

Definition at line 103 of file rosdiagnostic.py.

Definition at line 110 of file rosdiagnostic.py.

def rosdiagnostic.rosdiagnostic.RosDiagnostics._print_status (   self,
  diag,
  ts 
) [private]

Definition at line 123 of file rosdiagnostic.py.


Member Data Documentation

Definition at line 87 of file rosdiagnostic.py.

Definition at line 87 of file rosdiagnostic.py.

Initial value:
{
        DiagnosticStatus.OK:    '\033[92m OK  \033[0m',
        DiagnosticStatus.WARN:  '\033[93mWARN \033[0m',
        DiagnosticStatus.ERROR: '\033[91mERROR\033[0m',
        DiagnosticStatus.STALE: '\033[94mSTALE\033[0m',
    }

Definition at line 80 of file rosdiagnostic.py.

Initial value:
{
        DiagnosticStatus.OK:    ' OK  ',
        DiagnosticStatus.WARN:  'WARN ',
        DiagnosticStatus.ERROR: 'ERROR',
        DiagnosticStatus.STALE: 'STALE',
    }

Definition at line 73 of file rosdiagnostic.py.


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


rosdiagnostic
Author(s): Guillaume Autran
autogenerated on Tue Mar 26 2019 03:09:46