template <>
class WireServer
Defined at line 5785 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_ui_test_input::TouchScreen>|
and |::fidl::ServerEnd
<
::fuchsia_ui_test_input::TouchScreen>|).
Public Methods
void SimulateTap (::fuchsia_ui_test_input::wire::TouchScreenSimulateTapRequest * request, SimulateTapCompleter::Sync & completer)
Simulates a tap at the requested location.
void SimulateMultiTap (::fuchsia_ui_test_input::wire::TouchScreenSimulateMultiTapRequest * request, SimulateMultiTapCompleter::Sync & completer)
Simulates multi finger tap at the requested locations.
void SimulateSwipe (::fuchsia_ui_test_input::wire::TouchScreenSimulateSwipeRequest * request, SimulateSwipeCompleter::Sync & completer)
Simulates a swipe that starts at `start_location` and ends at `end_location`,
with a total number of move events equal to `move_event_count`.
The generated pointer event stream will be:
DOWN + CHANGE_1 + ... + CHANGE_n + UP, where n == `move_event_count`
Events are injected with no explicit delay in between if `duration` not set.
void SimulateMultiFingerGesture (::fuchsia_ui_test_input::wire::TouchScreenSimulateMultiFingerGestureRequest * request, SimulateMultiFingerGestureCompleter::Sync & completer)
Simulates a multi fingers linear gesture that starts at `start_locations`
and ends at `end_locations`, with a total number of move events equal to
`move_event_count`. if the arguments are invalid, the server should close
the connection.
The generated pointer event stream will be:
DOWN + CHANGE_1 + ... + CHANGE_n + UP, where n == `move_event_count`
Events are injected with a small explicit delay in between.
void SimulateTouchEvent (::fuchsia_ui_test_input::wire::TouchScreenSimulateTouchEventRequest * request, SimulateTouchEventCompleter::Sync & completer)
Simulate a touch event by a touch input report.
TouchInputReport includes a list of contacts that are currently contacting the
touch surface. The report can represent multiply touch events by comparing with
previous reports received.
void WireServer ()
Defined at line 5788 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/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 5789 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h