class ShutdownWatcher_OnShutdown_Result
Defined at line 2085 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_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,ShutdownWatcher_OnShutdown_Result *value,size_toffset)
zx_status_t Clone (ShutdownWatcher_OnShutdown_Result * result)
bool has_invalid_tag ()
Defined at line 2112 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 2116 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 2118 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 2123 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 2129 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 2131 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 2136 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 2142 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 2150 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 2155 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 2158 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 : 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 2098 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