History log of /openbmc/phosphor-power/phosphor-regulators/test/mock_sensors.hpp (Results 1 – 2 of 2)
Revision Date Author Comments
# c9c69518 27-Apr-2021 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Remove Services& from Sensors methods

Remove the Services& parameter from the Sensors methods. This parameter
introduces a circular include dependency, and the parameter was only
being

regulators: Remove Services& from Sensors methods

Remove the Services& parameter from the Sensors methods. This parameter
introduces a circular include dependency, and the parameter was only
being lightly used in two Sensors methods.

Tested:
* Verified that all DBusSensors methods work as expected.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I3b2c3ec0bec7ea51b24100531f3314e9f87cebee

show more ...


# 0a450197 12-Apr-2021 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Add Sensors service

Define the abstract base class Sensors. This class represents a service
that maintains a list of voltage regulator sensors.

This service makes the voltage regulator

regulators: Add Sensors service

Define the abstract base class Sensors. This class represents a service
that maintains a list of voltage regulator sensors.

This service makes the voltage regulator sensors available to other BMC
applications. For example, the Redfish support obtains sensor data from
this service.

Each voltage rail in the system may provide multiple types of sensor
data, such as temperature, output voltage, and output current. A sensor
tracks one of these data types for a voltage rail.

Also define a concrete subclass MockSensors used for test cases.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I0b1c28161bad899c6dd75f87b7ee8e891c8781af

show more ...