class HealthState

Defined at line 3627 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const bool & healthy ()

Driver is currently healthy.

No health information is provided if this field is not included.

This allows drivers to signal their health state in scenarios where they have not enough

capabilities or resources to recover on their own, for instance not able to power down the

hardware via a GPIO or control over the power subsystem.

Optional.

Defined at line 3640 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool has_healthy ()

Defined at line 3644 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

bool * mutable_healthy ()

Driver is currently healthy.

No health information is provided if this field is not included.

This allows drivers to signal their health state in scenarios where they have not enough

capabilities or resources to recover on their own, for instance not able to power down the

hardware via a GPIO or control over the power subsystem.

Optional.

Defined at line 3655 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

void clear_healthy ()

Defined at line 3663 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

HealthState & set_healthy (bool _value)
void HealthState ()
void HealthState (HealthState && other)
void ~HealthState ()
HealthState & operator= (HealthState && other)
::std::unique_ptr<HealthState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, HealthState * _value, size_t _offset)
zx_status_t Clone (HealthState * _result)