class Status

Defined at line 1013 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Dynamic status of a power source.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_power_source::wire::Status> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power_source::wire::Status> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_source::wire::Status>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Status ()

Defined at line 1015 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

void Status (const Status & other)

Defined at line 1016 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Status & operator= (const Status & other)

Defined at line 1017 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

void Status (Status && other)

Defined at line 1018 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Status & operator= (Status && other)

Defined at line 1019 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

bool & present ()

Whether the power entity is currently physically present.

bool has_present ()
uint32_t & voltage_uv ()

The voltage at the node, in microvolts.

bool has_voltage_uv ()
int32_t & current_ua ()

The current flowing at the node, in microamps.

Positive means flowing out (if Source) or in (if Sink).

bool has_current_ua ()
::fuchsia_hardware_power_source::wire::Role & current_role ()

The role the node is currently performing.

bool has_current_role ()
void ~Status ()

Defined at line 1021 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder