Searched refs:PSUSensor (Results 1 – 4 of 4) sorted by relevance
47 PSUSensor::PSUSensor( in PSUSensor() function in PSUSensor108 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 …]
16 class PSUSensor : public Sensor, public std::enable_shared_from_this<PSUSensor> class19 PSUSensor(const std::string& path, const std::string& objectType,29 ~PSUSensor() override;
6 'PSUSensor.cpp',
157 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()