Class LhmSensorFFM

java.lang.Object
oshi.driver.common.windows.wmi.LhmSensor
oshi.driver.windows.wmi.LhmSensorFFM

@ThreadSafe public final class LhmSensorFFM extends oshi.driver.common.windows.wmi.LhmSensor
Utility to query LibreHardwareMonitor WMI sensor data using FFM.
  • Nested Class Summary

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

    oshi.driver.common.windows.wmi.LhmSensor.LhmHardwareProperty, oshi.driver.common.windows.wmi.LhmSensor.LhmSensorProperty
  • Field Summary

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

    HARDWARE, LHM_NAMESPACE, SENSOR
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.LhmSensor.LhmHardwareProperty>
    Queries all GPU hardware entries from LHM to discover parent identifiers.
    static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.LhmSensor.LhmSensorProperty>
    querySensors(String parent, String sensorType)
    Queries all sensors of a given type belonging to a specific hardware parent.

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

    buildGpuHardwareWmiClassName, buildSensorWmiClassNameWithWhere

    Methods inherited from class Object

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

    • querySensors

      public static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.LhmSensor.LhmSensorProperty> querySensors(String parent, String sensorType)
      Queries all sensors of a given type belonging to a specific hardware parent.
      Parameters:
      parent - the LHM hardware identifier (e.g. /gpu-nvidia/0)
      sensorType - the sensor type string (e.g. "Load", "SmallData")
      Returns:
      WMI result containing NAME, VALUE, and PARENT columns
    • queryGpuHardware

      public static WbemcliUtilFFM.WmiResult<oshi.driver.common.windows.wmi.LhmSensor.LhmHardwareProperty> queryGpuHardware()
      Queries all GPU hardware entries from LHM to discover parent identifiers.
      Returns:
      WMI result with IDENTIFIER and NAME columns for all GPU hardware entries