class PowerGoal

Defined at line 3379 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

This table represents a specific power goal. The client must acquire a lease on the token to

activate the state.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void PowerGoal ()
void PowerGoal (PowerGoal && other)
const ::fuchsia::gpu::magma::PowerGoalType & type ()

Required.

Defined at line 3386 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

bool has_type ()

Defined at line 3390 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

::fuchsia::gpu::magma::PowerGoalType * mutable_type ()

Required.

Defined at line 3395 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

void clear_type ()

Defined at line 3403 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

void clear_token ()

Defined at line 3431 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

PowerGoal & set_type (::fuchsia::gpu::magma::PowerGoalType _value)
PowerGoal & set_token (::zx::event _value)
const ::zx::event & token ()

Required. The fuchsia.power.broker.DependencyToken that must be leased at level 1 to achieve

the goal.

Defined at line 3413 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

bool has_token ()

Defined at line 3417 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

::zx::event * mutable_token ()

Required. The fuchsia.power.broker.DependencyToken that must be leased at level 1 to achieve

the goal.

Defined at line 3423 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

void ~PowerGoal ()
PowerGoal & operator= (PowerGoal && other)
::std::unique_ptr<PowerGoal> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PowerGoal * _value, size_t _offset)
zx_status_t Clone (PowerGoal * _result)