template <>
class WireServer
Defined at line 1257 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_backlight::Device>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_backlight::Device>|).
Public Methods
void GetStateNormalized (GetStateNormalizedCompleter::Sync & completer)
Gets the current backlight brightness as a percentage value between 0.0
and 1.0
void SetStateNormalized (::fuchsia_hardware_backlight::wire::DeviceSetStateNormalizedRequest * request, SetStateNormalizedCompleter::Sync & completer)
Sets the current backlight brightness as a percentage value between 0.0
and 1.0
void GetStateAbsolute (GetStateAbsoluteCompleter::Sync & completer)
Gets the current backlight brightness in nits
void SetStateAbsolute (::fuchsia_hardware_backlight::wire::DeviceSetStateAbsoluteRequest * request, SetStateAbsoluteCompleter::Sync & completer)
Sets the current backlight brightness in nits.
void GetMaxAbsoluteBrightness (GetMaxAbsoluteBrightnessCompleter::Sync & completer)
Gets the maximum supported backlight brightness in nits, if known.
Otherwise returns error ZX_ERR_NOT_SUPPORTED.
void WireServer ()
Defined at line 1260 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/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 1261 of file fidling/gen/sdk/fidl/fuchsia.hardware.backlight/fuchsia.hardware.backlight/cpp/fidl/fuchsia.hardware.backlight/cpp/wire_messaging.h