template <>
class WireServer
Defined at line 7333 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_gpu_magma::PowerElementProvider>|
and |::fidl::ServerEnd
<
::fuchsia_gpu_magma::PowerElementProvider>|).
Public Methods
void GetPowerGoals (GetPowerGoalsCompleter::Sync & completer)
Retrieve a list of power goals that the hardware can attempt to achieve.
void GetClockSpeedLevel (::fuchsia_gpu_magma::wire::PowerElementProviderGetClockSpeedLevelRequest * request, GetClockSpeedLevelCompleter::Sync & completer)
Get a power level that represents the GPU clock being set to at least a target frequency.
The power level may allow the GPU to idle or turn off, as long as the clock frequency
remains the same.
void SetClockLimit (::fuchsia_gpu_magma::wire::PowerElementProviderSetClockLimitRequest * request, SetClockLimitCompleter::Sync & completer)
Limit the clock to at most a specific frequency.
void WireServer ()
Defined at line 7336 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 7337 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_messaging.h