class ShutdownWatcherRegister_RegisterTerminalStateWatcher_Result

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

Defined at line 1929 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 1933 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_RegisterTerminalStateWatcher_Response & response ()

Defined at line 1935 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_RegisterTerminalStateWatcher_Response & response ()

Defined at line 1940 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 1946 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 1948 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 1953 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_RegisterTerminalStateWatcher_Result::Tag Which ()

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

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

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

ShutdownWatcherRegister_RegisterTerminalStateWatcher_Result & set_response (::fuchsia::hardware::power::statecontrol::ShutdownWatcherRegister_RegisterTerminalStateWatcher_Response value)
ShutdownWatcherRegister_RegisterTerminalStateWatcher_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 1915 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