template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1435 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::TouchPointerSample Build ()

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

bool has_interaction ()
void clear_interaction ()

Clears the interaction field.

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

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::TouchInteractionId & interaction ()

The interaction that this pointer sample belongs to.

BuilderImpl & interaction (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_pointer::wire::TouchInteractionId>> elem)

The interaction that this pointer sample belongs to.

bool has_phase ()
void clear_phase ()

Clears the phase field.

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

O(number_of_fields) complexity.

::fuchsia_ui_pointer::wire::EventPhase & phase ()

The state of this event in the interaction's state machine.

BuilderImpl & phase (::fuchsia_ui_pointer::wire::EventPhase elem)

The state of this event in the interaction's state machine.

bool has_position_in_viewport ()
void clear_position_in_viewport ()

Clears the position_in_viewport field.

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

O(number_of_fields) complexity.

::fidl::Array<float, 2> & position_in_viewport ()

The position of this event, in the viewport's coordinate system.

BuilderImpl & position_in_viewport (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<float, 2>>> elem)

The position of this event, in the viewport's coordinate system.

Protected Methods

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

Records