Open 3D Engine AzFramework API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ThermalInfoHandler Class Referenceabstract

Inherits AZ::EBusTraits.

Public Member Functions

virtual float GetSensorTemp (ThermalSensorType sensor)=0
 
virtual float GetSensorOverheatingTemp (ThermalSensorType sensor)=0
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 

Member Function Documentation

◆ GetSensorOverheatingTemp()

virtual float ThermalInfoHandler::GetSensorOverheatingTemp ( ThermalSensorType  sensor)
pure virtual

Returns the temperature that is considered as overheating for a specific sensor. The value returned is in Celcius degrees.

Parameters
sensorThe sensor type.

◆ GetSensorTemp()

virtual float ThermalInfoHandler::GetSensorTemp ( ThermalSensorType  sensor)
pure virtual

Returns the current temperature of a specific sensor in Celcius degrees. If the type of sensor is not available on the device it returns 0.

Parameters
sensorThe sensor type.

The documentation for this class was generated from the following file: