Class OhmSensorFFM

java.lang.Object
oshi.driver.common.windows.wmi.OhmSensor
oshi.driver.windows.wmi.OhmSensorFFM

@ThreadSafe public final class OhmSensorFFM extends oshi.driver.common.windows.wmi.OhmSensor
Utility to query Open Hardware Monitor WMI data for Sensors using FFM.
  • Nested Class Summary

    Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.OhmSensor

    oshi.driver.common.windows.wmi.OhmSensor.ValueProperty
  • Field Summary

    Fields inherited from class oshi.driver.common.windows.wmi.OhmSensor

    OHM_NAMESPACE, SENSOR
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.OhmSensor.ValueProperty>
    querySensorValue(WmiQueryHandlerFFM h, String identifier, String sensorType)
    Queries the sensor value of a hardware identifier and sensor type.

    Methods inherited from class oshi.driver.common.windows.wmi.OhmSensor

    buildSensorWmiClassNameWithWhere

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • querySensorValue

      public static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.OhmSensor.ValueProperty> querySensorValue(WmiQueryHandlerFFM h, String identifier, String sensorType)
      Queries the sensor value of a hardware identifier and sensor type.
      Parameters:
      h - An instantiated WmiQueryHandlerFFM. User should have already initialized COM.
      identifier - The identifier whose value to query.
      sensorType - The type of sensor to query.
      Returns:
      The sensor value.