Public Member Functions | Public Attributes
diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask Class Reference
Inheritance diagram for diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def addTask
def run

Public Attributes

 tasks

Detailed Description

Merges CompositeDiagnosticTask into a single DiagnosticTask.

The CompositeDiagnosticTask allows multiple DiagnosticTask instances to
be combined into a single task that produces a single single
DiagnosticStatusWrapped. The output of the combination has the max of
the status levels, and a concatenation of the non-zero-level messages.

For instance, this could be used to combine the calibration and offset data
from an IMU driver.

Definition at line 63 of file _diagnostic_updater.py.


Constructor & Destructor Documentation

Constructs a CompositeDiagnosticTask with the given name.

Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.

Definition at line 75 of file _diagnostic_updater.py.


Member Function Documentation

Adds a child CompositeDiagnosticTask.

This CompositeDiagnosticTask will be called each time this
CompositeDiagnosticTask is run.

Definition at line 100 of file _diagnostic_updater.py.

Runs each child and merges their outputs.

Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.

Definition at line 80 of file _diagnostic_updater.py.


Member Data Documentation

Definition at line 75 of file _diagnostic_updater.py.


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


diagnostic_updater
Author(s): Jeremy Leibs, Blaise Gassend, Brice Rebsamen
autogenerated on Fri Jan 3 2014 11:18:57