class ShutdownWatcherRegister_RegisterWatcher_Result

Defined at line 1749 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 ShutdownWatcherRegister_RegisterWatcher_Result ()
void ~ShutdownWatcherRegister_RegisterWatcher_Result ()
void ShutdownWatcherRegister_RegisterWatcher_Result (ShutdownWatcherRegister_RegisterWatcher_Result && )
ShutdownWatcherRegister_RegisterWatcher_Result & operator= (ShutdownWatcherRegister_RegisterWatcher_Result && )
ShutdownWatcherRegister_RegisterWatcher_Result WithResponse (::fuchsia::hardware::power::statecontrol::ShutdownWatcherRegister_RegisterWatcher_Response && )
ShutdownWatcherRegister_RegisterWatcher_Result WithFrameworkErr (::fidl::FrameworkErr && )
::std::unique_ptr<ShutdownWatcherRegister_RegisterWatcher_Result> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ShutdownWatcherRegister_RegisterWatcher_Result * value, size_t offset)
zx_status_t Clone (ShutdownWatcherRegister_RegisterWatcher_Result * result)
bool has_invalid_tag ()

Defined at line 1776 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 1780 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::ShutdownWatcherRegister_RegisterWatcher_Response & response ()

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

Defined at line 1787 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 1793 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 1795 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 1800 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::ShutdownWatcherRegister_RegisterWatcher_Result::Tag Which ()

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

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

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

ShutdownWatcherRegister_RegisterWatcher_Result & set_response (::fuchsia::hardware::power::statecontrol::ShutdownWatcherRegister_RegisterWatcher_Response value)
ShutdownWatcherRegister_RegisterWatcher_Result & set_framework_err (::fidl::FrameworkErr value)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kFrameworkErr 3

0x3

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 1762 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