template <>
class WireSyncClientImpl
Defined at line 1258 of file fidling/gen/sdk/fidl/fuchsia.hardware.fan/fuchsia.hardware.fan/cpp/fidl/fuchsia.hardware.fan/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_hardware_fan::Device>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_hardware_fan::Device::GetFanLevel> GetFanLevel ()
Get the current fan level.
- response `status`
ZX_ERR_INTERNAL if `fan_level` is not available.
This generally means that `fan_level` has not
been initialized yet or something has gone
terribly wrong.
- response `fan_level` a uint32 field indicating the
current fan level. See fan level description above.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_fan::Device::SetFanLevel> SetFanLevel (uint32_t fan_level)
Set the fan level.
+ request `fan_level` a uint32 field indicating the
requested fan level. See fan level description above.
- response `status`
ZX_ERR_OUT_OF_RANGE if the requested fan_level is not
valid.
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_fan::Device::GetClientType> GetClientType ()
Returns the client type to use for
`fuchsia.thermal.ClientStateConnector::Connect`.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.