class ShutdownOptions

Defined at line 2122 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

The options specified when a shutdown is requested.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::hardware::power::statecontrol::ShutdownAction & action ()

Defined at line 2128 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

bool has_action ()

Defined at line 2132 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

::fuchsia::hardware::power::statecontrol::ShutdownAction * mutable_action ()

Defined at line 2136 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

void clear_action ()

Defined at line 2144 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

const ::std::vector< ::fuchsia::hardware::power::statecontrol::ShutdownReason> & reasons ()

The set of shutdown reasons that are responsible for this shutdown request.

Defined at line 2153 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

bool has_reasons ()

Defined at line 2157 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

::std::vector< ::fuchsia::hardware::power::statecontrol::ShutdownReason> * mutable_reasons ()

The set of shutdown reasons that are responsible for this shutdown request.

Defined at line 2162 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

void clear_reasons ()

Defined at line 2170 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

ShutdownOptions & set_action (::fuchsia::hardware::power::statecontrol::ShutdownAction _value)
ShutdownOptions & set_reasons (::std::vector< ::fuchsia::hardware::power::statecontrol::ShutdownReason> _value)
void ShutdownOptions ()
void ShutdownOptions (ShutdownOptions && other)
void ~ShutdownOptions ()
ShutdownOptions & operator= (ShutdownOptions && other)
::std::unique_ptr<ShutdownOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ShutdownOptions * _value, size_t _offset)
zx_status_t Clone (ShutdownOptions * _result)