template <>
class WireSyncClientImpl
Defined at line 1481 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_thermal::SensorManager>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::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. Response is heap-allocated.
::fidl::WireResult< ::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 328 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 320 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 368 bytes of message buffer on the stack. No heap allocation necessary.