class ShutdownWatcher_OnShutdown_Result

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

Public Members

static const fidl_type_t * FidlType

Public Methods

void ShutdownWatcher_OnShutdown_Result ()
void ~ShutdownWatcher_OnShutdown_Result ()
void ShutdownWatcher_OnShutdown_Result (ShutdownWatcher_OnShutdown_Result && )
ShutdownWatcher_OnShutdown_Result & operator= (ShutdownWatcher_OnShutdown_Result && )
ShutdownWatcher_OnShutdown_Result WithResponse (::fuchsia::hardware::power::statecontrol::ShutdownWatcher_OnShutdown_Response && )
ShutdownWatcher_OnShutdown_Result WithFrameworkErr (::fidl::FrameworkErr && )
::std::unique_ptr<ShutdownWatcher_OnShutdown_Result> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ShutdownWatcher_OnShutdown_Result * value, size_t offset)
zx_status_t Clone (ShutdownWatcher_OnShutdown_Result * result)
bool has_invalid_tag ()

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

bool is_response ()

Defined at line 2104 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::ShutdownWatcher_OnShutdown_Response & response ()

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

const ::fuchsia::hardware::power::statecontrol::ShutdownWatcher_OnShutdown_Response & response ()

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

bool is_framework_err ()

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

::fidl::FrameworkErr & framework_err ()

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

const ::fidl::FrameworkErr & framework_err ()

Defined at line 2124 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::ShutdownWatcher_OnShutdown_Result::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

void ShutdownWatcher_OnShutdown_Result (fpromise::ok_result<void> && result)

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

fpromise::result<void, ::fidl::FrameworkErr> operator result ()

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

ShutdownWatcher_OnShutdown_Result & set_response (::fuchsia::hardware::power::statecontrol::ShutdownWatcher_OnShutdown_Response value)
ShutdownWatcher_OnShutdown_Result & set_framework_err (::fidl::FrameworkErr value)

Enumerations

enum Tag
Name Value
kResponse 1
kFrameworkErr 3
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality