struct LevelDependency
Defined at line 1810 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
Describes a dependency from one power element's level on another power
element's level.
For example if element `PowerElement_A` has a level `PowerLevel_A3` which
depends on an element `PowerElement_B` being at `PowerLevel_B2` where the
dependency is `DependencyType::ASSERTIVE` then we would fill out the struct
to convey the meaning:
- `dependent_level` = `PowerLevel_A3`
- `requires_token` = `PowerElement_B`,
- `dependency_type = `ASSERTIVE`,
- `requires_level_by_preference` = `[PowerLevel_B2]`
(Note the values above are only *symbolic*, eg. `dependent_level` requires
an integer value, not a string.)
The dependent Element's identity is not specified in this struct and must
be specified as a separate argument in a request or be inferred, perhaps
because a channel is scoped to the dependent element.
Public Members
DependencyType dependency_type
uint8_t dependent_level
event requires_token
VectorView requires_level_by_preference
Public Methods
void _CloseHandles ()