class Admin_Poweroff_Result

Defined at line 1237 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 Admin_Poweroff_Result ()
::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response & response ()

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

Defined at line 1275 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

bool is_err ()

Defined at line 1281 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

int32_t & err ()

Defined at line 1283 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

const int32_t & err ()

Defined at line 1288 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::Admin_Poweroff_Result::Tag Which ()

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

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

Defined at line 1307 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

void Admin_Poweroff_Result (fpromise::error_result<int32_t> && result)

Defined at line 1310 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

void Admin_Poweroff_Result (fpromise::result<void, int32_t> && result)

Defined at line 1313 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, int32_t> operator result ()

Defined at line 1321 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h

void ~Admin_Poweroff_Result ()
void Admin_Poweroff_Result (Admin_Poweroff_Result && )
Admin_Poweroff_Result & operator= (Admin_Poweroff_Result && )
Admin_Poweroff_Result WithResponse (::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response && )
Admin_Poweroff_Result WithErr (int32_t && )
::std::unique_ptr<Admin_Poweroff_Result> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Admin_Poweroff_Result * value, size_t offset)
zx_status_t Clone (Admin_Poweroff_Result * result)
bool has_invalid_tag ()

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

Admin_Poweroff_Result & set_response (::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response value)
Admin_Poweroff_Result & set_err (int32_t value)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kErr 2

0x2

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

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