template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_ui_pointerinjector::wire::PointerSample Build ()

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

bool has_pointer_id ()
void clear_pointer_id ()

Clears the pointer_id field.

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

O(number_of_fields) complexity.

uint32_t & pointer_id ()

An identifier of the pointer that issued this event.

It is unique only to a specific pointer device.

BuilderImpl & pointer_id (uint32_t elem)

An identifier of the pointer that issued this event.

It is unique only to a specific pointer device.

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_pointerinjector::wire::EventPhase & phase ()

The state of this event in the pointer event stream's state machine.

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

The state of this event in the pointer event stream'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.

bool has_scroll_v ()
void clear_scroll_v ()

Clears the scroll_v field.

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

O(number_of_fields) complexity.

int64_t & scroll_v ()

Relative vertical scrolling displacement by detent.

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

Relative vertical scrolling displacement by detent.

bool has_scroll_h ()
void clear_scroll_h ()

Clears the scroll_h field.

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

O(number_of_fields) complexity.

int64_t & scroll_h ()

Relative horizontal scrolling displacement by detent.

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

Relative horizontal scrolling displacement by detent.

bool has_pressed_buttons ()
void clear_pressed_buttons ()

Clears the pressed_buttons field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint8_t> & pressed_buttons ()

Identifiers of currently pressed buttons.

BuilderImpl & pressed_buttons (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)

Identifiers of currently pressed buttons.

bool has_relative_motion ()
void clear_relative_motion ()

Clears the relative_motion field.

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

O(number_of_fields) complexity.

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

The movement of a mouse, independent of the viewport's coordinate

system.

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

The movement of a mouse, independent of the viewport's coordinate

system.

bool has_scroll_v_physical_pixel ()
void clear_scroll_v_physical_pixel ()

Clears the scroll_v_physical_pixel field.

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

O(number_of_fields) complexity.

double & scroll_v_physical_pixel ()

Recommended vertical scrolling displacement by physical pixel, it is

computed with accelerator, detent / mm to pixel ratio, etc.

BuilderImpl & scroll_v_physical_pixel (Wrapper_Ignore_Me_< ::fidl::ObjectView<double>> elem)

Recommended vertical scrolling displacement by physical pixel, it is

computed with accelerator, detent / mm to pixel ratio, etc.

bool has_scroll_h_physical_pixel ()
void clear_scroll_h_physical_pixel ()

Clears the scroll_h_physical_pixel field.

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

O(number_of_fields) complexity.

double & scroll_h_physical_pixel ()

Recommended horizontal scrolling displacement by physical pixel, it

is computed with accelerator, detent / mm to pixel ratio, etc.

BuilderImpl & scroll_h_physical_pixel (Wrapper_Ignore_Me_< ::fidl::ObjectView<double>> elem)

Recommended horizontal scrolling displacement by physical pixel, it

is computed with accelerator, detent / mm to pixel ratio, etc.

bool has_is_precision_scroll ()
void clear_is_precision_scroll ()

Clears the is_precision_scroll field.

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

O(number_of_fields) complexity.

bool & is_precision_scroll ()

Indicated if the scroll event is from a precision scroll device (HI_RES

mouse or touchpad). Clients may want to play interpolation animations

on non precision scroll device for smooth scrolling.

BuilderImpl & is_precision_scroll (bool elem)

Indicated if the scroll event is from a precision scroll device (HI_RES

mouse or touchpad). Clients may want to play interpolation animations

on non precision scroll device for smooth scrolling.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_pointerinjector::wire::PointerSample, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointerinjector::wire::PointerSample>> && frame)

Records