class PowerLevel

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

A zero-indexed set of levels that a device can assume.

+ `level` is the zero-indexed level of this `PowerLevel`.

+ `name` is a human-readable label for this `PowerLevel`, used only for

debugging.

+ `transitions` describes the levels that are valid transitions from this

`PowerLevel`.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_power::wire::PowerLevel> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power::wire::PowerLevel> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerLevel>> frame)

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

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerLevel>> && frame_ptr)
void PowerLevel ()

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

void PowerLevel (PowerLevel && other)

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

uint8_t & level ()
bool has_level ()
::fidl::StringView & name ()
bool has_name ()
bool has_transitions ()
PowerLevel & operator= (const PowerLevel & other)

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

PowerLevel & operator= (PowerLevel && other)

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

PowerLevel & set_level (uint8_t elem)
PowerLevel & clear_level ()
PowerLevel & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
PowerLevel & set_name (std::nullptr_t )
PowerLevel & clear_name ()
PowerLevel & set_transitions (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_power::wire::Transition>> elem)
PowerLevel & set_transitions (std::nullptr_t )
PowerLevel & clear_transitions ()
void PowerLevel (::fidl::AnyArena & allocator)
void PowerLevel (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerLevel>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void PowerLevel (const PowerLevel & other)

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

::fidl::VectorView< ::fuchsia_hardware_power::wire::Transition> & transitions ()
void ~PowerLevel ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder