template <>
class WireServer
Defined at line 942 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwmimpl/fuchsia.hardware.pwmimpl/cpp/fidl/fuchsia.hardware.pwmimpl/cpp/driver/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fdf::ClientEnd
<
::fuchsia_hardware_pwmimpl::PwmImpl>|
and |::fdf::ServerEnd
<
::fuchsia_hardware_pwmimpl::PwmImpl>|).
Public Methods
void GetConfig (::fuchsia_hardware_pwmimpl::wire::PwmImplGetConfigRequest *request,fdf::Arena &arena,GetConfigCompleter::Sync &completer)
Gets the current configuration of the PWM channel.
## Errors
* `ZX_ERR_INVALID_ARGS`: The `idx` is invalid.
void SetConfig (::fuchsia_hardware_pwmimpl::wire::PwmImplSetConfigRequest *request,fdf::Arena &arena,SetConfigCompleter::Sync &completer)
Sets the configuration of the PWM channel.
## Errors
* `ZX_ERR_INVALID_ARGS`: The `idx` or `config` is invalid.
void Enable (::fuchsia_hardware_pwmimpl::wire::PwmImplEnableRequest *request,fdf::Arena &arena,EnableCompleter::Sync &completer)
Enables the PWM channel.
## Errors
* `ZX_ERR_INVALID_ARGS`: The `idx` is invalid.
void Disable (::fuchsia_hardware_pwmimpl::wire::PwmImplDisableRequest *request,fdf::Arena &arena,DisableCompleter::Sync &completer)
Disables the PWM channel.
## Errors
* `ZX_ERR_INVALID_ARGS`: The `idx` is invalid.
void WireServer ()
Defined at line 945 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwmimpl/fuchsia.hardware.pwmimpl/cpp/fidl/fuchsia.hardware.pwmimpl/cpp/driver/wire_messaging.h
Handler bind_handler (fdf_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 946 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwmimpl/fuchsia.hardware.pwmimpl/cpp/fidl/fuchsia.hardware.pwmimpl/cpp/driver/wire_messaging.h