class SensorInputDescriptor

Defined at line 5790 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 5792 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 5795 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 5796 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 ()

Each `SensorAxis` in `values` describes what a sensor is measuring and its range.

These will directly correspond to the values in `SensorReport`.

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

Defined at line 5794 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 5793 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 ()

ReportID of current descriptor. Report with same report ID should be

associated with this descriptor.

void ~SensorInputDescriptor ()

Defined at line 5798 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 5830 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