class TouchInputDescriptor
Defined at line 7677 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Describes the format of the input report that will be sent from the keyboard
to the device.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_input_report::wire::TouchInputDescriptor> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::TouchInputDescriptor> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputDescriptor>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputDescriptor>> && frame_ptr)
void TouchInputDescriptor ()
Defined at line 7679 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
TouchInputDescriptor & set_buttons (std::nullptr_t )
TouchInputDescriptor & clear_buttons ()
void TouchInputDescriptor (TouchInputDescriptor && other)
Defined at line 7682 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::ContactInputDescriptor> & contacts ()
The contact descriptors associated with this touch descriptor.
Required. Must not be empty.
bool has_contacts ()
uint32_t & max_contacts ()
The max number of contacts that this touch device can report at once.
Required.
bool has_max_contacts ()
::fuchsia_input_report::wire::TouchType & touch_type ()
The type of touch device being used.
Required.
bool has_touch_type ()
::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton> & buttons ()
void TouchInputDescriptor (const TouchInputDescriptor & other)
Defined at line 7680 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
TouchInputDescriptor & set_contacts (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputDescriptor>> elem)
TouchInputDescriptor & set_contacts (std::nullptr_t )
bool has_buttons ()
TouchInputDescriptor & clear_contacts ()
TouchInputDescriptor & set_max_contacts (uint32_t elem)
TouchInputDescriptor & clear_max_contacts ()
TouchInputDescriptor & set_touch_type (::fuchsia_input_report::wire::TouchType elem)
TouchInputDescriptor & clear_touch_type ()
TouchInputDescriptor & set_buttons (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton>> elem)
void TouchInputDescriptor (::fidl::AnyArena & allocator)
void TouchInputDescriptor (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputDescriptor>> && 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.
TouchInputDescriptor & operator= (const TouchInputDescriptor & other)
Defined at line 7681 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
TouchInputDescriptor & operator= (TouchInputDescriptor && other)
Defined at line 7683 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void ~TouchInputDescriptor ()
Defined at line 7685 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
TouchInputDescriptor & set_contacts (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 7728 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
TouchInputDescriptor & set_buttons (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 7743 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