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()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 …]
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;
154 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()
213 'PSUSensor.cpp',