class PowerDependency

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

Describes the relationship between the `PowerLevel`s of two

`PowerElement`s. `child` is the name of the `PowerElement` which has

`PowerLevel`s that depend on `parent`.

+ `child` is the name for a `PowerElement` which a driver owns.

+ `parent` is the name for a `PowerElement` which a driver has access to

+ `level_deps` is the map of level dependencies from `child` to `parent`.

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::PowerDependency> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power::wire::PowerDependency> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerDependency>> 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::PowerDependency>> && frame_ptr)
void PowerDependency ()

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

void PowerDependency (PowerDependency && other)

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

::fidl::StringView & child ()
bool has_child ()
PowerDependency & operator= (PowerDependency && other)

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

::fuchsia_hardware_power::wire::ParentElement & parent ()
bool has_parent ()
bool has_level_deps ()
PowerDependency & operator= (const PowerDependency & other)

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

PowerDependency & set_child (::fidl::ObjectView< ::fidl::StringView> elem)
PowerDependency & set_child (std::nullptr_t )
PowerDependency & clear_child ()
PowerDependency & set_parent (::fidl::ObjectView< ::fuchsia_hardware_power::wire::ParentElement> elem)
PowerDependency & set_parent (std::nullptr_t )
PowerDependency & clear_parent ()
PowerDependency & set_level_deps (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_power::wire::LevelTuple>> elem)
PowerDependency & set_level_deps (std::nullptr_t )
PowerDependency & clear_level_deps ()
void PowerDependency (::fidl::AnyArena & allocator)
void PowerDependency (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerDependency>> && 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 PowerDependency (const PowerDependency & other)

Defined at line 1003 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::LevelTuple> & level_deps ()
void ~PowerDependency ()

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