Home
last modified time | relevance | path

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

/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp798 auto virtualSensorPtr = std::make_unique<VirtualSensor>( in createVirtualSensorsFromDBus() local
803 virtualSensorPtr->updateVirtualSensor(); in createVirtualSensorsFromDBus()
806 virtualSensorPtr->ValueIface::unit(unitMap[sensorType]); in createVirtualSensorsFromDBus()
807 virtualSensorPtr->emit_object_added(); in createVirtualSensorsFromDBus()
809 virtualSensorsMap.emplace(name, std::move(virtualSensorPtr)); in createVirtualSensorsFromDBus()
892 auto virtualSensorPtr = std::make_unique<VirtualSensor>( in createVirtualSensors() local
896 virtualSensorPtr->updateVirtualSensor(); in createVirtualSensors()
899 virtualSensorPtr->ValueIface::unit(unitMap[sensorType]); in createVirtualSensors()
900 virtualSensorPtr->emit_object_added(); in createVirtualSensors()
903 std::move(virtualSensorPtr)); in createVirtualSensors()