template <>

class WireSyncClientImpl

Defined at line 371 of file fidling/gen/sdk/fidl/fuchsia.input.injection/fuchsia.input.injection/cpp/fidl/fuchsia.input.injection/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_input_injection::InputDeviceRegistry>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus Register (::fidl::ClientEnd< ::fuchsia_input_report::InputDevice> && device)

Registers an input device represented by `device`.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().

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

::fidl::WireResult< ::fuchsia_input_injection::InputDeviceRegistry::RegisterAndGetDeviceInfo> RegisterAndGetDeviceInfo (::fidl::ClientEnd< ::fuchsia_input_report::InputDevice> && device)

Registers an input device represented by `device` and return the device id of the

added test device.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().

Allocates 24 bytes of request buffer on the stack. Response is heap-allocated.