class SensorInputDescriptor

Defined at line 5324 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.

void SensorInputDescriptor ()
void SensorInputDescriptor (SensorInputDescriptor && other)
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 5334 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 5338 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 5346 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 5354 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 5366 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 5370 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 5378 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 5386 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 ()
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)