class ParentElement

Defined at line 328 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/natural_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 (ParentElement && other)
ParentElement & operator= (ParentElement && other)
void ParentElement (const ParentElement & other)
ParentElement & operator= (const ParentElement & other)
bool operator== (const ParentElement & other)
bool operator!= (const ParentElement & other)
::fuchsia_hardware_power::ParentElement::Tag Which ()
ParentElement WithSag (::fuchsia_hardware_power::SagElement val)
const ::fidl::internal::UnionMemberView<1, Storage_> sag ()
::fidl::internal::UnionMemberView<1, Storage_> sag ()
ParentElement & sag (::fuchsia_hardware_power::SagElement value)

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

be obtained from the appropriate SAG-related protocol.

ParentElement WithInstanceName (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> instance_name ()
::fidl::internal::UnionMemberView<2, Storage_> instance_name ()
ParentElement & instance_name (::std::string value)

The parent element's access token should be available from

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

ParentElement WithCpuControl (::fuchsia_hardware_power::CpuPowerElement val)
const ::fidl::internal::UnionMemberView<3, Storage_> cpu_control ()
::fidl::internal::UnionMemberView<3, Storage_> cpu_control ()
ParentElement & cpu_control (::fuchsia_hardware_power::CpuPowerElement value)

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

protocol.

void ParentElement (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kSag 1
kInstanceName 2
kCpuControl 3

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits