class PowerGoal

Defined at line 3377 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.

const ::fuchsia::gpu::magma::PowerGoalType & type ()

Required.

Defined at line 3384 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 3388 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 3393 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 3401 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)
const ::zx::event & token ()

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

the goal.

Defined at line 3411 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 3415 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 3421 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 3429 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

PowerGoal & set_token (::zx::event _value)
void PowerGoal ()
void PowerGoal (PowerGoal && other)
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)