template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 7584 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

Public Methods

::fuchsia_input_report::wire::DeviceDescriptor Build ()

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

bool has_mouse ()
void clear_mouse ()

Clears the mouse field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::MouseDescriptor & mouse ()

When `mouse` is present the device has a mouse.

BuilderImpl & mouse (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::MouseDescriptor>> elem)

When `mouse` is present the device has a mouse.

bool has_sensor ()
void clear_sensor ()

Clears the sensor field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::SensorDescriptor & sensor ()

When `sensor` is present the device has a sensor.

BuilderImpl & sensor (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::SensorDescriptor>> elem)

When `sensor` is present the device has a sensor.

bool has_touch ()
void clear_touch ()

Clears the touch field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::TouchDescriptor & touch ()

When `touch` is present the device has a touch device.

(E.g: Touchscreen, touchpad).

BuilderImpl & touch (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::TouchDescriptor>> elem)

When `touch` is present the device has a touch device.

(E.g: Touchscreen, touchpad).

bool has_keyboard ()
void clear_keyboard ()

Clears the keyboard field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::KeyboardDescriptor & keyboard ()

When `keyboard` is present the device has a keyboard.

BuilderImpl & keyboard (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::KeyboardDescriptor>> elem)

When `keyboard` is present the device has a keyboard.

bool has_consumer_control ()
void clear_consumer_control ()

Clears the consumer_control field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::ConsumerControlDescriptor & consumer_control ()

When `consumer_control` is present the device has a ConsumerControl

device.

BuilderImpl & consumer_control (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::ConsumerControlDescriptor>> elem)

When `consumer_control` is present the device has a ConsumerControl

device.

bool has_device_information ()
void clear_device_information ()

Clears the device_information field.

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

O(number_of_fields) complexity.

::fuchsia_input_report::wire::DeviceInformation & device_information ()

`device_information` should always be present to help distinguish

between physical devices.

BuilderImpl & device_information (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::DeviceInformation>> elem)

`device_information` should always be present to help distinguish

between physical devices.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_input_report::wire::DeviceDescriptor, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::DeviceDescriptor>> && frame)

Records