template <>

class NaturalClientImpl

Defined at line 517 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_thermal::SensorManager::ListSensors> ListSensors ()

Lists sensors that may be controlled and connected to by clients.

::fidl::internal::NaturalThenable< ::fuchsia_thermal::SensorManager::SetTemperatureOverride> SetTemperatureOverride (const ::fidl::Request< ::fuchsia_thermal::SensorManager::SetTemperatureOverride> & request)

Sets an override temperature for the sensor with `name`.

When an override temperature is set, internal thermal policies will

use the override temperature. Temperature values retrieved from

sensor connections vended by `Connect` will also receive the override

temperature.

This interaction does not affect the thermal sensor itself.

Clients who connect directly to the sensor without `Connect` will

receive the real sensor value.

If a sensor with the given `name` is not found,

`SetTemperatureOverrideError.SENSOR_NOT_FOUND` is returned.

::fidl::internal::NaturalThenable< ::fuchsia_thermal::SensorManager::ClearTemperatureOverride> ClearTemperatureOverride (const ::fidl::Request< ::fuchsia_thermal::SensorManager::ClearTemperatureOverride> & request)

Clears the temperature override set by `SetTemperatureOverride`.

If no temperature override has been set, this interaction does nothing.

If a sensor with the given `name` is not found,

`ClearTemperatureOverrideError.SENSOR_NOT_FOUND` is returned.

::fidl::internal::NaturalThenable< ::fuchsia_thermal::SensorManager::Connect> Connect (::fidl::Request< ::fuchsia_thermal::SensorManager::Connect> request)

Connects to the thermal sensor with the given `name`.

If any required arguments are not provided,

`ConnectError.INVALID_ARGUMENTS` is returned.

If a sensor with the given `name` is not found,

`ConnectError.SENSOR_NOT_FOUND` is returned.