Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/psu/
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()
140 void PSUSensor::deactivate() in deactivate()
150 void PSUSensor::setupRead() in setupRead()
166 std::weak_ptr<PSUSensor> weak = weak_from_this(); in setupRead()
185 void PSUSensor::restartRead() in restartRead()
187 std::weak_ptr<PSUSensor> weakRef = weak_from_this(); in restartRead()
195 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 Dmeson.build6 'PSUSensor.cpp',
H A DPSUSensorMain.cpp157 static boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>
548 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback()
960 sensors[sensorName] = std::make_shared<PSUSensor>( in createSensorsCallback()
1130 boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>& in powerStateChanged()