template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2236 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::TouchEvent 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 touch 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 touch 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::TouchDeviceInfo & device_info ()

A description of the pointer 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::TouchDeviceInfo>> elem)

A description of the pointer 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::TouchPointerSample & pointer_sample ()

A description of each sampled data point in an interaction of touch

events.

- It is issued on every sample in the interaction.

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

A description of each sampled data point in an interaction of touch

events.

- It is issued on every sample in the interaction.

bool has_interaction_result ()
void clear_interaction_result ()

Clears the interaction_result field.

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

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::TouchInteractionResult & interaction_result ()

The result of gesture disambiguation for a interaction of touch events.

- It is issued once per interaction.

BuilderImpl & interaction_result (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::TouchInteractionResult>> elem)

The result of gesture disambiguation for a interaction of touch events.

- It is issued once per interaction.

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::TouchEvent, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointer::wire::TouchEvent>> && frame)

Records