class SensorInputDescriptor

Defined at line 6338 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 sensor

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::SensorInputDescriptor> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::SensorInputDescriptor> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorInputDescriptor>> 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::SensorInputDescriptor>> && frame_ptr)
void SensorInputDescriptor ()

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

void SensorInputDescriptor (SensorInputDescriptor && other)

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

SensorInputDescriptor & operator= (SensorInputDescriptor && other)

Defined at line 6344 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::SensorAxis> & values ()

Describes the ranges of the values that the sensor device reports.

Must not be empty.

Required.

bool has_values ()
bool has_report_id ()
SensorInputDescriptor & operator= (const SensorInputDescriptor & other)

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

SensorInputDescriptor & set_values (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorInputDescriptor & set_values (std::nullptr_t )
SensorInputDescriptor & clear_values ()
SensorInputDescriptor & set_report_id (uint8_t elem)
SensorInputDescriptor & clear_report_id ()
void SensorInputDescriptor (::fidl::AnyArena & allocator)
void SensorInputDescriptor (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorInputDescriptor>> && 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 SensorInputDescriptor (const SensorInputDescriptor & other)

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

uint8_t & report_id ()

A sensor may have multiple input descriptors of the same type.

Reports with the same report ID are associated with this descriptor.

Required iff the sensor has more than one input descriptors.

void ~SensorInputDescriptor ()

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

template <typename... Args>
SensorInputDescriptor & set_values (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6382 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