Public Member Functions | Public Attributes
diagnostic_updater._diagnostic_updater.FunctionDiagnosticTask Class Reference
Inheritance diagram for diagnostic_updater._diagnostic_updater.FunctionDiagnosticTask:
Inheritance graph

List of all members.

Public Member Functions

def __init__
def run

Public Attributes


Detailed Description

A DiagnosticTask based on a function.

The FunctionDiagnosticTask calls the function when it updates. The
function updates the DiagnosticStatusWrapper and collects data.

This is useful for gathering information about a device or driver, like temperature,
calibration, etc.

Definition at line 70 of file

Constructor & Destructor Documentation

Constructs a GenericFunctionDiagnosticTask based on the given name and function.
@param name Name of the function.
@param fn Function to be called when run is called.

Definition at line 80 of file

Member Function Documentation

Fills out this Task's DiagnosticStatusWrapper.
@param stat: the DiagnosticStatusWrapper to fill
@return the filled DiagnosticStatusWrapper

Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.

Definition at line 88 of file

Member Data Documentation

Definition at line 83 of file

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

Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs, Blaise Gassend
autogenerated on Mon Aug 14 2017 02:52:20