template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4227 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::InputReport Build ()
Build and return the table. The builder should not be used after this.
bool has_event_time ()
void clear_event_time ()
Clears the event_time field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & event_time ()
`event_time` is in nanoseconds when the event was recorded.
BuilderImpl & event_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
`event_time` is in nanoseconds when the event was recorded.
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::MouseInputReport & mouse ()
`mouse` is the report generated if the device contains a mouse.
BuilderImpl & mouse (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::MouseInputReport>> elem)
`mouse` is the report generated if the device contains 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::SensorInputReport & sensor ()
`sensor` is the report generated if the device contains a sensor.
BuilderImpl & sensor (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::SensorInputReport>> elem)
`sensor` is the report generated if the device contains 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::TouchInputReport & touch ()
`touch` is the report generated if the device contains a touch device.
BuilderImpl & touch (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::TouchInputReport>> elem)
`touch` is the report generated if the device contains a touch device.
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::KeyboardInputReport & keyboard ()
`keyboard` is the report generated if the device contains a keyboard.
BuilderImpl & keyboard (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::KeyboardInputReport>> elem)
`keyboard` is the report generated if the device contains 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::ConsumerControlInputReport & consumer_control ()
`consumer_controls` is the report generated if the device contains a
ConsumerControl device.
BuilderImpl & consumer_control (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::ConsumerControlInputReport>> elem)
`consumer_controls` is the report generated if the device contains a
ConsumerControl device.
bool has_trace_id ()
void clear_trace_id ()
Clears the trace_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & trace_id ()
Unique ID to connect trace async begin/end events.
BuilderImpl & trace_id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Unique ID to connect trace async begin/end events.
bool has_report_id ()
void clear_report_id ()
Clears the report_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & report_id ()
The Descriptor that describes this InputReport will have a matching
ReportID. If this doesn't exist, report_id is 0.
BuilderImpl & report_id (uint8_t elem)
The Descriptor that describes this InputReport will have a matching
ReportID. If this doesn't exist, report_id is 0.
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_input_report::wire::InputReport, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::InputReport>> && frame)