template <>
class WireServer
Defined at line 813 of file fidling/gen/sdk/fidl/fuchsia.hardware.dsp/fuchsia.hardware.dsp/cpp/fidl/fuchsia.hardware.dsp/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_dsp::DspDevice>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_dsp::DspDevice>|).
Public Methods
void LoadFirmware (::fuchsia_hardware_dsp::wire::DspDeviceLoadFirmwareRequest * request, LoadFirmwareCompleter::Sync & completer)
Load DSP firmware.
|fw_name| : The name of the firmware to load.
error a zx_status value indicating failure. One of the following:
`ZX_ERR_NOT_FOUND` if the firmware does not exist.
void Start (StartCompleter::Sync & completer)
Start DSP.
error a zx_status value indicating failure. Two of the following:
`ZX_ERR_BAD_STATE` if the DSP firmware fails to load, execute the DSP start command.
`ZX_ERR_OUT_OF_RANGE` if the execution of the smcc command started by the DSP fails.
void Stop (StopCompleter::Sync & completer)
Stop DSP.
error a zx_status value indicating failure. Two of the following:
`ZX_ERR_BAD_STATE` if DSP is not started, execute DSP stop.
`ZX_ERR_OUT_OF_RANGE` if the execution of the smcc command stopped by the DSP fails.
void WireServer ()
Defined at line 816 of file fidling/gen/sdk/fidl/fuchsia.hardware.dsp/fuchsia.hardware.dsp/cpp/fidl/fuchsia.hardware.dsp/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 817 of file fidling/gen/sdk/fidl/fuchsia.hardware.dsp/fuchsia.hardware.dsp/cpp/fidl/fuchsia.hardware.dsp/cpp/wire_messaging.h