class ConsumerControlInputReport

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

A single report created by a ConsumerControl device.

Public Methods

void ConsumerControlInputReport ()

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

void ConsumerControlInputReport (const ConsumerControlInputReport & other)

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

ConsumerControlInputReport & operator= (const ConsumerControlInputReport & other)

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

void ConsumerControlInputReport (ConsumerControlInputReport && other)

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

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_input_report::wire::ConsumerControlInputReport> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::ConsumerControlInputReport> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::ConsumerControlInputReport>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

ConsumerControlInputReport & operator= (ConsumerControlInputReport && other)

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

::fidl::VectorView< ::fuchsia_input_report::wire::ConsumerControlButton> & pressed_buttons ()

The list of buttons that are currently pressed down.

bool has_pressed_buttons ()
ConsumerControlInputReport & set_pressed_buttons (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ConsumerControlButton>> elem)
ConsumerControlInputReport & set_pressed_buttons (std::nullptr_t )
ConsumerControlInputReport & clear_pressed_buttons ()
void ConsumerControlInputReport (::fidl::AnyArena & allocator)
void ConsumerControlInputReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::ConsumerControlInputReport>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::ConsumerControlInputReport>> && frame_ptr)
void ~ConsumerControlInputReport ()

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

template <typename... Args>
ConsumerControlInputReport & set_pressed_buttons (::fidl::AnyArena & allocator, Args &&... args)

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder