Module omnisensor::threshold
source · [−]Expand description
Utility code for managing sensor thresholds.
Structs
A threshold of a single severity (lower and upper bounds).
Represents a single direction of a threshold.
An iterator over the variants of Self
Internal representation of a threshold’s config data retrieved from dbus.
The
PropChgMsgFns for the xyz.openbmc_project.Sensor.Threshold.* interfaces.An iterator over the variants of Self
Enums
The direction of a threshold bound.
The severity level of a threshold.
Functions
Construct threshold interfaces for all severity levels.
Retrieve a threshold property value from the given
sensor for the given severity
sev via getter, sending it back over dbus via ctx.Construct a
ThresholdArr from a slice of config objects.Type Definitions
A per-severity-level array of threhsolds, as
Options because they may not have
been specified in the available config data.An array of
T indexed by ThresholdBoundType.An per-severity-level array of threshold interfaces, each of which is a
ThresholdIntfMsgFns plus a dbus interface token.An array of
T indexed by ThresholdSeverity.