class ShutdownWatcherRegister_RegisterWatcher_Result
Defined at line 1710 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 1737 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 1741 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 1743 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 1748 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 1754 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 1756 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 1761 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 1767 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 1775 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 1780 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 1783 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
| Name | Value |
|---|---|
| kResponse | 1 |
| kFrameworkErr | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1723 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