template <>
class WireSyncClientImpl
Defined at line 1465 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/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_report::InputDevice>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus GetInputReportsReader (::fidl::ServerEnd< ::fuchsia_input_report::InputReportsReader> && reader)
Open a new InputReportsReader on this device. Each reader receives
their own reports.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_input_report::InputDevice::GetDescriptor> GetDescriptor ()
Gets the device descriptor for this device.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_input_report::InputDevice::SendOutputReport> SendOutputReport (::fuchsia_input_report::wire::OutputReport report)
Send a single output report to the device. This will throw an error
if the output report does not follow the OutputDescriptor.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_input_report::InputDevice::GetFeatureReport> GetFeatureReport ()
Get the feature report for a given device. This requests the state of
the device's features.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_input_report::InputDevice::SetFeatureReport> SetFeatureReport (::fuchsia_input_report::wire::FeatureReport report)
Set the feature report for a given device. This sets the state of
the device's features.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_input_report::InputDevice::GetInputReport> GetInputReport (::fuchsia_input_report::wire::DeviceType device_type)
For general cases, InputReportReader is the preferred way of getting
InputReports. For devices that don't send InputReports naturally, this
method can be used to request a report from the device type indicated.
Does not block, and returns ZX_ERR_NOT_SUPPORTED if `GetInputReport` or
`device_type` are not supported.
Allocates 24 bytes of request buffer on the stack. Response is heap-allocated.