template <>

class WireServer

Defined at line 997 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_vulkan_loader::Loader>|

and |::fidl::ServerEnd

<

::fuchsia_vulkan_loader::Loader>|).

Public Methods

void Get (::fuchsia_vulkan_loader::wire::LoaderGetRequest * request, GetCompleter::Sync & completer)

Requests a client driver library with the given name from the Vulkan loader

service. Returns a VMO suitable for loading as a dynamic library on

success, a null handle on failure.

void ConnectToManifestFs (::fuchsia_vulkan_loader::wire::LoaderConnectToManifestFsRequest * request, ConnectToManifestFsCompleter::Sync & completer)

Connects to a FS serving fuchsia.io containing all Vulkan ICD manifests.

See

<https

://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#icd-manifest-file-format>

for a description of the manifest file format. Manifests will always

appear in this directory after the relevant device appears in

`ConnectToDeviceFs()`.

void ConnectToDeviceFs (::fuchsia_vulkan_loader::wire::LoaderConnectToDeviceFsRequest * request, ConnectToDeviceFsCompleter::Sync & completer)

Connects to a FS serving fuchsia.io containing all device nodes

potentially relevant to ICDs. Trusted devices are exposed only to trusted

loader clients (see [`TrustedService`]).

void GetSupportedFeatures (GetSupportedFeaturesCompleter::Sync & completer)

Returns the set of features the loader service supports.

void GetVmexResource (GetVmexResourceCompleter::Sync & completer)

Returns a VmexResource that can be used by Lavapipe to JIT-compile code in the client

process, or an error.

void WireServer ()

Defined at line 1000 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/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 1001 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/cpp/wire_messaging.h