Home
last modified time | relevance | path

Searched refs:PSUSensor (Results 1 – 4 of 4) sorted by relevance

/openbmc/dbus-sensors/src/
H A DPSUSensor.cpp47 PSUSensor::PSUSensor( in PSUSensor() function in PSUSensor
108 PSUSensor::~PSUSensor() in ~PSUSensor()
120 bool PSUSensor::isActive() in isActive()
125 void PSUSensor::activate(const std::string& newPath, in activate()
135 void PSUSensor::deactivate() in deactivate()
145 void PSUSensor::setupRead() in setupRead()
161 std::weak_ptr<PSUSensor> weak = weak_from_this(); in setupRead()
180 void PSUSensor::restartRead() in restartRead()
182 std::weak_ptr<PSUSensor> weakRef = weak_from_this(); in restartRead()
190 std::shared_ptr<PSUSensor> self = weakRef.lock(); in restartRead()
[all …]
H A DPSUSensor.hpp16 class PSUSensor : public Sensor, public std::enable_shared_from_this<PSUSensor> class
19 PSUSensor(const std::string& path, const std::string& objectType,
29 ~PSUSensor() override;
H A DPSUSensorMain.cpp154 static boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>
534 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback()
946 sensors[sensorName] = std::make_shared<PSUSensor>( in createSensorsCallback()
1116 boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>& in powerStateChanged()
H A Dmeson.build213 'PSUSensor.cpp',