class ParentElement

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

Identifier for an element that is another element's parent, in other words

an element that the other element depends upon.

Public Methods

void ParentElement ()
void ParentElement (const ParentElement & )

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

ParentElement & operator= (const ParentElement & )

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

void ParentElement (ParentElement && )

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

bool has_invalid_tag ()
bool is_sag ()
ParentElement WithSag (::fuchsia_hardware_power::wire::SagElement val)

The parent element is one of SAG's elements and the access token should

be obtained from the appropriate SAG-related protocol.

ParentElement & operator= (ParentElement && )

Defined at line 1760 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::SagElement & sag ()

The parent element is one of SAG's elements and the access token should

be obtained from the appropriate SAG-related protocol.

const ::fuchsia_hardware_power::wire::SagElement & sag ()

The parent element is one of SAG's elements and the access token should

be obtained from the appropriate SAG-related protocol.

bool is_instance_name ()
ParentElement WithInstanceName (::fidl::ObjectView< ::fidl::StringView> val)

The parent element's access token should be available from

`/svc/fuchsia.hardware.power.PowerTokenProvider/{instance_name}`.

template <typename... Args>
ParentElement WithInstanceName (::fidl::AnyArena & allocator, Args &&... args)

The parent element's access token should be available from

`/svc/fuchsia.hardware.power.PowerTokenProvider/{instance_name}`.

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

::fidl::StringView & instance_name ()

The parent element's access token should be available from

`/svc/fuchsia.hardware.power.PowerTokenProvider/{instance_name}`.

const ::fidl::StringView & instance_name ()

The parent element's access token should be available from

`/svc/fuchsia.hardware.power.PowerTokenProvider/{instance_name}`.

bool is_cpu_control ()
ParentElement WithCpuControl (::fuchsia_hardware_power::wire::CpuPowerElement val)

The parent element comes from the fuchsia.power.system/CpuElementManager

protocol.

::fuchsia_hardware_power::wire::CpuPowerElement & cpu_control ()

The parent element comes from the fuchsia.power.system/CpuElementManager

protocol.

const ::fuchsia_hardware_power::wire::CpuPowerElement & cpu_control ()

The parent element comes from the fuchsia.power.system/CpuElementManager

protocol.

::fuchsia_hardware_power::wire::ParentElement::Tag Which ()

Enumerations

enum Tag
Name Value
kSag 1
kInstanceName 2
kCpuControl 3

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