class ShutdownWatcher_OnShutdown_Result

Defined at line 1874 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 1901 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 1905 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 1907 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 1912 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 1918 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 1920 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 1925 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 1931 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 1939 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 1944 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 1947 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 1887 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