class SensorInputDescriptor

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

Describes the format of the input report that will be sent from the sensor

to the device.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::vector< ::fuchsia::input::report::SensorAxis> & values ()

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

Must not be empty.

Required.

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

bool has_values ()

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

::std::vector< ::fuchsia::input::report::SensorAxis> * mutable_values ()

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

Must not be empty.

Required.

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

void clear_values ()

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

const 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.

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

bool has_report_id ()

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

uint8_t * mutable_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.

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

void clear_report_id ()

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

SensorInputDescriptor & set_values (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorInputDescriptor & set_report_id (uint8_t _value)
void SensorInputDescriptor ()
void SensorInputDescriptor (SensorInputDescriptor && other)
void ~SensorInputDescriptor ()
SensorInputDescriptor & operator= (SensorInputDescriptor && other)
::std::unique_ptr<SensorInputDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SensorInputDescriptor * _value, size_t _offset)
zx_status_t Clone (SensorInputDescriptor * _result)