Class OhmSensorJNA

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

@ThreadSafe public final class OhmSensorJNA extends oshi.driver.common.windows.wmi.OhmSensor
Utility to query Open Hardware Monitor WMI data for Sensors using JNA.
  • 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 WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.OhmSensor.ValueProperty>
    querySensorValue(WmiQueryHandler 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 WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.OhmSensor.ValueProperty> querySensorValue(WmiQueryHandler h, String identifier, String sensorType)
      Queries the sensor value of a hardware identifier and sensor type.
      Parameters:
      h - An instantiated WmiQueryHandler. User should have already initialized COM.
      identifier - The identifier whose value to query.
      sensorType - The type of sensor to query.
      Returns:
      The sensor value.