class LeaseDependency
Defined at line 693 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_power_broker::wire::LeaseDependency> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_power_broker::wire::LeaseDependency> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_broker::wire::LeaseDependency>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_broker::wire::LeaseDependency>> && frame_ptr)
void LeaseDependency ()
Defined at line 695 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
void LeaseDependency (LeaseDependency && other)
Defined at line 698 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
void _CloseHandles ()
LeaseDependency & operator= (LeaseDependency && other)
Defined at line 699 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
::zx::event & requires_token ()
Must supply a token registered via the RegisterDependencyToken call of
the required element's ElementControl protocol.
bool has_requires_token ()
LeaseDependency & operator= (const LeaseDependency & other)
Defined at line 697 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
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.
::fidl::VectorView<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.
bool has_requires_level_by_preference ()
LeaseDependency & set_requires_token (::zx::event elem)
LeaseDependency & clear_requires_token ()
LeaseDependency & set_requires_level (uint8_t elem)
LeaseDependency & clear_requires_level ()
LeaseDependency & set_requires_level_by_preference (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> elem)
LeaseDependency & set_requires_level_by_preference (std::nullptr_t )
LeaseDependency & clear_requires_level_by_preference ()
void LeaseDependency (::fidl::AnyArena & allocator)
void LeaseDependency (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_broker::wire::LeaseDependency>> && 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 LeaseDependency (const LeaseDependency & other)
Defined at line 696 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
bool has_requires_level ()
void ~LeaseDependency ()
Defined at line 701 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder