class SensorInputDescriptor

Defined at line 6359 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 SensorInputDescriptor ()

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

void SensorInputDescriptor (const SensorInputDescriptor & other)

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

SensorInputDescriptor & operator= (const SensorInputDescriptor & other)

Defined at line 6363 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 6364 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 6365 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 ()
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.

bool has_report_id ()
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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorInputDescriptor>> && frame_ptr)
void ~SensorInputDescriptor ()

Defined at line 6367 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 6403 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