
Public Member Functions | |
| def | __init__ (self, params, name="FrequencyStatus") |
| def | clear (self) |
| def | run (self, stat) |
| def | tick (self) |
Public Member Functions inherited from diagnostic_updater._diagnostic_updater.DiagnosticTask | |
| def | __init__ (self, name) |
| def | getName (self) |
Public Attributes | |
| count | |
| hist_indx | |
| lock | |
| params | |
| seq_nums | |
| times | |
Public Attributes inherited from diagnostic_updater._diagnostic_updater.DiagnosticTask | |
| name | |
A diagnostic task that monitors the frequency of an event. This diagnostic task monitors the frequency of calls to its tick method, and creates corresponding diagnostics. It will report a warning if the frequency is outside acceptable bounds, and report an error if there have been no events in the latest window.
Definition at line 82 of file _update_functions.py.
| def diagnostic_updater._update_functions.FrequencyStatus.__init__ | ( | self, | |
| params, | |||
name = "FrequencyStatus" |
|||
| ) |
Constructs a FrequencyStatus class with the given parameters. :param FrequencyStatus params: parameters of the diagnostic task. :param str name: name of the diagnostic task.
Definition at line 91 of file _update_functions.py.
| def diagnostic_updater._update_functions.FrequencyStatus.clear | ( | self | ) |
Resets the statistics.
Definition at line 102 of file _update_functions.py.
| def diagnostic_updater._update_functions.FrequencyStatus.run | ( | self, | |
| stat | |||
| ) |
Fills out this Task's :class:`DiagnosticStatusWrapper`. :param DiagnosticStatusWrapper stat: the :class:`DiagnosticStatusWrapper` to fill :return: the filled :class:`DiagnosticStatusWrapper` :rtype: DiagnosticStatusWrapper
Reimplemented from diagnostic_updater._diagnostic_updater.DiagnosticTask.
Definition at line 116 of file _update_functions.py.
| def diagnostic_updater._update_functions.FrequencyStatus.tick | ( | self | ) |
Signals that an event has occurred.
Definition at line 111 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.count |
Definition at line 105 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.hist_indx |
Definition at line 109 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.lock |
Definition at line 99 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.params |
Definition at line 98 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.seq_nums |
Definition at line 108 of file _update_functions.py.
| diagnostic_updater._update_functions.FrequencyStatus.times |
Definition at line 107 of file _update_functions.py.