template <>

class WireSyncClientImpl

Defined at line 480 of file fidling/gen/sdk/fidl/fuchsia.hardware.sharedmemory/fuchsia.hardware.sharedmemory/cpp/fidl/fuchsia.hardware.sharedmemory/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_hardware_sharedmemory::SharedVmoRegister>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_sharedmemory::SharedVmoRegister::RegisterVmo> RegisterVmo (uint32_t vmo_id, ::fuchsia_mem::wire::Range && vmo, ::fuchsia_hardware_sharedmemory::wire::SharedVmoRight rights)

Registers a VMO and transfers ownership to the driver.

vmo_id: The ID chosen by the client that will be used in operations on this VMO.

vmo: The handle, offset, and size of this VMO. IO operations on this VMO will be relative to

the offset and size specified here.

rights: A bit field of SharedVmoRight values indicating how this VMO may be used. Callers

should assume that the driver will map and/or pin the VMO using these rights.

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_sharedmemory::SharedVmoRegister::UnregisterVmo> UnregisterVmo (uint32_t vmo_id)

Unmaps and/or unpins the VMO and returns the handle to the caller.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.