template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1754 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/wire_types.h

Public Methods

::fuchsia_ui_pointer::wire::MouseEvent Build ()

Build and return the table. The builder should not be used after this.

bool has_timestamp ()
void clear_timestamp ()

Clears the timestamp field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

int64_t & timestamp ()

The time this event was observed.

Required.

BuilderImpl & timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The time this event was observed.

Required.

bool has_view_parameters ()
void clear_view_parameters ()

Clears the view_parameters field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::ViewParameters & view_parameters ()

The parameters of the associated view and viewport, sufficient to

correctly interpret the position, orientation, magnitude, and

inter-event distance of pointer events dispatched to a view.

- It is issued on connection and on change.

BuilderImpl & view_parameters (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::ViewParameters>> elem)

The parameters of the associated view and viewport, sufficient to

correctly interpret the position, orientation, magnitude, and

inter-event distance of pointer events dispatched to a view.

- It is issued on connection and on change.

bool has_device_info ()
void clear_device_info ()

Clears the device_info field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::MouseDeviceInfo & device_info ()

A description of the mouse device, sufficient to correctly interpret

the capabilities and usage intent of the device.

- It is issued once per device.

BuilderImpl & device_info (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::MouseDeviceInfo>> elem)

A description of the mouse device, sufficient to correctly interpret

the capabilities and usage intent of the device.

- It is issued once per device.

bool has_pointer_sample ()
void clear_pointer_sample ()

Clears the pointer_sample field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::MousePointerSample & pointer_sample ()

A description of each sampled data point in a mouse event stream.

Issuance policy. There are two dispatch modes, "hover" and "latched".

Hover mode is default, and the stream is dispatched in fragments to the

visible client that each mouse event hovers above. Latched mode directs

the stream to a single client (regardless of view boundary) until

unlatched. Latched mode is typically toggled when the user presses the

primary mouse button, but is ultimately a product-specific policy.

BuilderImpl & pointer_sample (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::MousePointerSample>> elem)

A description of each sampled data point in a mouse event stream.

Issuance policy. There are two dispatch modes, "hover" and "latched".

Hover mode is default, and the stream is dispatched in fragments to the

visible client that each mouse event hovers above. Latched mode directs

the stream to a single client (regardless of view boundary) until

unlatched. Latched mode is typically toggled when the user presses the

primary mouse button, but is ultimately a product-specific policy.

bool has_stream_info ()
void clear_stream_info ()

Clears the stream_info field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::MouseEventStreamInfo & stream_info ()

The signal for view entry/exit in hover mode.

- It is issued on hover entry into a view, and hover exit from a view.

BuilderImpl & stream_info (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::MouseEventStreamInfo>> elem)

The signal for view entry/exit in hover mode.

- It is issued on hover entry into a view, and hover exit from a view.

bool has_trace_flow_id ()
void clear_trace_flow_id ()

Clears the trace_flow_id field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint64_t & trace_flow_id ()

An identifier to correlate this event's send/receive occurrence across

component boundaries or abstraction layers.

BuilderImpl & trace_flow_id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

An identifier to correlate this event's send/receive occurrence across

component boundaries or abstraction layers.

bool has_wake_lease ()
void clear_wake_lease ()

Clears the wake_lease field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::zx::eventpair & wake_lease ()

Optional wake lease for power baton passing.

BuilderImpl & wake_lease (::zx::eventpair elem)

Optional wake lease for power baton passing.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_pointer::wire::MouseEvent, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointer::wire::MouseEvent>> && frame)

Records