class LeaseSchema
Defined at line 680 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
Passed to Topology.Lease.
Public Methods
void LeaseSchema (Storage_ storage)
bool IsEmpty ()
void LeaseSchema ()
Defined at line 685 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
void LeaseSchema (LeaseSchema && )
Defined at line 686 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::eventpair> & lease_token ()
The half of an eventpair to be held by the Power Broker. The other
half of the pair should be retained by the client. See `LeaseToken`
below for more usage details.
::std::optional< ::zx::eventpair> & lease_token ()
The half of an eventpair to be held by the Power Broker. The other
half of the pair should be retained by the client. See `LeaseToken`
below for more usage details.
LeaseSchema & lease_token (std::optional< ::zx::eventpair> value)
The half of an eventpair to be held by the Power Broker. The other
half of the pair should be retained by the client. See `LeaseToken`
below for more usage details.
const std::optional< ::std::string> & lease_name ()
Human-readable name for logging and debug purposes.
::std::optional< ::std::string> & lease_name ()
Human-readable name for logging and debug purposes.
LeaseSchema & lease_name (std::optional< ::std::string> value)
Human-readable name for logging and debug purposes.
const std::optional< ::std::vector< ::fuchsia_power_broker::LeaseDependency>> & dependencies ()
List of dependencies for this lease.
::std::optional< ::std::vector< ::fuchsia_power_broker::LeaseDependency>> & dependencies ()
List of dependencies for this lease.
LeaseSchema & dependencies (std::optional< ::std::vector< ::fuchsia_power_broker::LeaseDependency>> value)
List of dependencies for this lease.
LeaseSchema & operator= (LeaseSchema && )
Defined at line 687 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h
const std::optional<bool> & should_return_pending_lease ()
(Optional) By default, `Topology.Lease` will wait until the lease is
`SATISFIED` before returning. If `should_return_pending_lease` is true,
it will instead return as soon as the lease has been granted by Power
Broker but it may still be `PENDING`. Clients can listen for
`LEASE_SIGNAL_SATISFIED` to know when the lease has been `SATISFIED`.
::std::optional<bool> & should_return_pending_lease ()
(Optional) By default, `Topology.Lease` will wait until the lease is
`SATISFIED` before returning. If `should_return_pending_lease` is true,
it will instead return as soon as the lease has been granted by Power
Broker but it may still be `PENDING`. Clients can listen for
`LEASE_SIGNAL_SATISFIED` to know when the lease has been `SATISFIED`.
LeaseSchema & should_return_pending_lease (std::optional<bool> value)
(Optional) By default, `Topology.Lease` will wait until the lease is
`SATISFIED` before returning. If `should_return_pending_lease` is true,
it will instead return as soon as the lease has been granted by Power
Broker but it may still be `PENDING`. Clients can listen for
`LEASE_SIGNAL_SATISFIED` to know when the lease has been `SATISFIED`.
void LeaseSchema (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits