class LeaseDependency
Defined at line 558 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
Public Methods
void LeaseDependency (Storage_ storage)
bool IsEmpty ()
void LeaseDependency ()
Defined at line 563 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
void LeaseDependency (LeaseDependency && )
Defined at line 564 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
LeaseDependency & operator= (LeaseDependency && )
Defined at line 565 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
const std::optional< ::zx::event> & requires_token ()
Must supply a token registered via the RegisterDependencyToken call of
the required element's ElementControl protocol.
::std::optional< ::zx::event> & requires_token ()
Must supply a token registered via the RegisterDependencyToken call of
the required element's ElementControl protocol.
LeaseDependency & requires_token (std::optional< ::zx::event> value)
Must supply a token registered via the RegisterDependencyToken call of
the required element's ElementControl protocol.
const std::optional<uint8_t> & requires_level ()
Level of the element required. Most clients will want to use this, but
for forward compatibility, requires_level_by_preference may be used
instead.
::std::optional<uint8_t> & requires_level ()
Level of the element required. Most clients will want to use this, but
for forward compatibility, requires_level_by_preference may be used
instead.
LeaseDependency & requires_level (std::optional<uint8_t> value)
Level of the element required. Most clients will want to use this, but
for forward compatibility, requires_level_by_preference may be used
instead.
const std::optional< ::std::vector<uint8_t>> & requires_level_by_preference ()
Advanced Options
(Optional) For forward compatibility, the list of levels in decreasing
preferential order that power broker should attempt to make required for
this dependency to be satisfied. The first level in list that is a valid
level will become the required level. If this is set, `requires_level`
will be ignored.
Platform clients can use this list to keep backwards compatibility with
dependencies by providing multiple levels that the dependency may have
implemented in older API levels.
::std::optional< ::std::vector<uint8_t>> & requires_level_by_preference ()
Advanced Options
(Optional) For forward compatibility, the list of levels in decreasing
preferential order that power broker should attempt to make required for
this dependency to be satisfied. The first level in list that is a valid
level will become the required level. If this is set, `requires_level`
will be ignored.
Platform clients can use this list to keep backwards compatibility with
dependencies by providing multiple levels that the dependency may have
implemented in older API levels.
LeaseDependency & requires_level_by_preference (std::optional< ::std::vector<uint8_t>> value)
Advanced Options
(Optional) For forward compatibility, the list of levels in decreasing
preferential order that power broker should attempt to make required for
this dependency to be satisfied. The first level in list that is a valid
level will become the required level. If this is set, `requires_level`
will be ignored.
Platform clients can use this list to keep backwards compatibility with
dependencies by providing multiple levels that the dependency may have
implemented in older API levels.
void LeaseDependency (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits