template <>

class WireWeakAsyncClientImpl

Defined at line 2007 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/wire_messaging.h

Public Methods

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

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

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_thermal::SensorManager::SetTemperatureOverride> SetTemperatureOverride (::fidl::StringView name, float override_temperature)

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.

Allocates 296 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_thermal::SensorManager::ClearTemperatureOverride> ClearTemperatureOverride (::fidl::StringView name)

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.

Allocates 288 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_thermal::SensorManager::Connect> Connect (::fuchsia_thermal::wire::SensorManagerConnectRequest SensorManagerConnectRequest)

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.

Allocates 336 bytes of request buffer on the stack. The callback is stored on the heap.