class RebootOptions

Defined at line 1973 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 reboot is requested.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

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

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

Defined at line 1980 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 1984 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::RebootReason2> * mutable_reasons ()

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

Defined at line 1989 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 1997 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

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