Searched refs:PSUSensor (Results 1 – 4 of 4) sorted by relevance
/openbmc/dbus-sensors/src/ |
H A D | PSUSensor.cpp | 47 PSUSensor::PSUSensor(const std::string& path, const std::string& objectType, in PSUSensor() function in PSUSensor 109 PSUSensor::~PSUSensor() in ~PSUSensor() 121 bool PSUSensor::isActive() in isActive() 126 void PSUSensor::activate(const std::string& newPath, in activate() 136 void PSUSensor::deactivate() in deactivate() 146 void PSUSensor::setupRead() in setupRead() 162 std::weak_ptr<PSUSensor> weak = weak_from_this(); in setupRead() 171 std::shared_ptr<PSUSensor> self = weak.lock(); in setupRead() 181 void PSUSensor::restartRead() in restartRead() 183 std::weak_ptr<PSUSensor> weakRef = weak_from_this(); in restartRead() [all …]
|
H A D | PSUSensor.hpp | 16 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 D | PSUSensorMain.cpp | 152 static boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>> 533 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback() 945 sensors[sensorName] = std::make_shared<PSUSensor>( in createSensorsCallback() 1114 boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>& in powerStateChanged()
|
H A D | meson.build | 213 'PSUSensor.cpp',
|