template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 994 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::MousePointerSample Build ()

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

bool has_device_id ()
void clear_device_id ()

Clears the device_id field.

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

O(number_of_fields) complexity.

uint32_t & device_id ()

An identifier for the mouse device that issues a mouse event stream.

Required.

BuilderImpl & device_id (uint32_t elem)

An identifier for the mouse device that issues a mouse event stream.

Required.

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.

Required.

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.

Required.

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 relative movement performed, independent of the viewport's

coordinate system.

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

The relative movement performed, 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_pointer::wire::MousePointerSample, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_pointer::wire::MousePointerSample>> && frame)

Records