class ShutdownWatcherRegister_RegisterWatcher_Result
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
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 1764 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 1768 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 1770 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 1775 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 1781 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 1783 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 1788 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 1794 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 1802 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 1807 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 1810 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 1750 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