class TouchInputDescriptor
Defined at line 7698 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 TouchInputDescriptor ()
Defined at line 7700 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void TouchInputDescriptor (const TouchInputDescriptor & other)
Defined at line 7701 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 ()
bool has_buttons ()
TouchInputDescriptor & operator= (const TouchInputDescriptor & other)
Defined at line 7702 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void TouchInputDescriptor (TouchInputDescriptor && other)
Defined at line 7703 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 7704 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
::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 ()
TouchInputDescriptor & set_contacts (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputDescriptor>> elem)
TouchInputDescriptor & set_contacts (std::nullptr_t )
TouchInputDescriptor & clear_contacts ()
TouchInputDescriptor & clear_touch_type ()
TouchInputDescriptor & set_buttons (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton>> elem)
TouchInputDescriptor & set_buttons (std::nullptr_t )
TouchInputDescriptor & clear_buttons ()
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.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputDescriptor>> && frame_ptr)
void ~TouchInputDescriptor ()
Defined at line 7706 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 7749 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 7764 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
TouchInputDescriptor & set_max_contacts (uint32_t elem)
TouchInputDescriptor & clear_max_contacts ()
TouchInputDescriptor & set_touch_type (::fuchsia_input_report::wire::TouchType elem)
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder