template <>

class WireSyncClientImpl

Defined at line 3264 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_power_system::CpuElementManager>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_power_system::CpuElementManager::GetCpuDependencyToken> GetCpuDependencyToken ()

Gets the assertive dependency token for the CPU power element.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_power_system::CpuElementManager::AddExecutionStateDependency> AddExecutionStateDependency (::fuchsia_power_system::wire::CpuElementManagerAddExecutionStateDependencyRequest CpuElementManagerAddExecutionStateDependencyRequest)

Adds a dependency from the Execution State power element to the target

power element identified by [`dependency_token`] at [`power_level`].

Once the Execution State power element is created, future calls will

return [`fuchsia.power.system/AddExecutionStateDependencyError.BAD_STATE`]

and no changes to Execution State dependencies will be made.

If any required entries in the request are missing, the server will

return [`fuchsia.power.system/AddExecutionStateDependencyError.INVALID_ARGS`].

Allocates 80 bytes of message buffer on the stack. No heap allocation necessary.