class SensorFeatureDescriptor

Defined at line 6564 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 sensor's feature report. Feature reports can be

requested from the sensor, or sent to the sensor.

At least one of the fields below must be present.

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

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::SensorFeatureDescriptor> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureDescriptor>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void SensorFeatureDescriptor ()

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

void SensorFeatureDescriptor (const SensorFeatureDescriptor & other)

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

bool has_sensitivity ()
SensorFeatureDescriptor & clear_report_interval ()
SensorFeatureDescriptor & operator= (const SensorFeatureDescriptor & other)

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

void SensorFeatureDescriptor (SensorFeatureDescriptor && other)

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

SensorFeatureDescriptor & operator= (SensorFeatureDescriptor && other)

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

::fuchsia_input_report::wire::Axis & report_interval ()

Valid range of the reporting interval for the given `SensorType`.

Optional. Present iff sensor supports getting/setting the reporting

interval.

bool has_report_interval ()
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & sensitivity ()

Valid range of the sensitivity for the given `SensorType`.

Optional. Present iff sensor supports getting/setting the sensitivity.

template <typename... Args>
SensorFeatureDescriptor & set_report_interval (::fidl::AnyArena & allocator, Args &&... args)

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

bool & supports_reporting_state ()

True iff `SensorFeatureReport` supports setting/getting the

`SensorReportingState`.

Optional. Present iff sensor supports getting/setting the reporting

state.

bool has_supports_reporting_state ()
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_high ()

Valid range of the high threshold values for the given `SensorType`.

Optional. Present iff sensor supports getting/setting the high

threshold values.

bool has_threshold_high ()
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_low ()

Valid range of the low threshold values for the given `SensorType`.

Optional. Present iff sensor supports getting/setting the low

threshold values.

bool has_threshold_low ()
::fuchsia_input_report::wire::Axis & sampling_rate ()

Valid range of sampling rates this sensor supports.

Optional. Present iff sensor supports getting/setting the sampling

rate.

bool has_sampling_rate ()
uint8_t & report_id ()

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

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

Required iff the sensor has more than one feature descriptors.

bool has_report_id ()
SensorFeatureDescriptor & set_report_interval (::fidl::ObjectView< ::fuchsia_input_report::wire::Axis> elem)
SensorFeatureDescriptor & set_report_interval (std::nullptr_t )
SensorFeatureDescriptor & set_sensitivity (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_sensitivity (std::nullptr_t )
SensorFeatureDescriptor & clear_sensitivity ()
void ~SensorFeatureDescriptor ()

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

template <typename... Args>
SensorFeatureDescriptor & set_sensitivity (::fidl::AnyArena & allocator, Args &&... args)

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

SensorFeatureDescriptor & set_supports_reporting_state (bool elem)
SensorFeatureDescriptor & clear_supports_reporting_state ()
SensorFeatureDescriptor & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_high (std::nullptr_t )
SensorFeatureDescriptor & clear_threshold_high ()
template <typename... Args>
SensorFeatureDescriptor & set_threshold_high (::fidl::AnyArena & allocator, Args &&... args)

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

SensorFeatureDescriptor & set_threshold_low (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_low (std::nullptr_t )
SensorFeatureDescriptor & clear_threshold_low ()
SensorFeatureDescriptor & set_sampling_rate (::fidl::ObjectView< ::fuchsia_input_report::wire::Axis> elem)
SensorFeatureDescriptor & set_sampling_rate (std::nullptr_t )
SensorFeatureDescriptor & clear_sampling_rate ()
SensorFeatureDescriptor & set_report_id (uint8_t elem)
SensorFeatureDescriptor & clear_report_id ()
void SensorFeatureDescriptor (::fidl::AnyArena & allocator)
void SensorFeatureDescriptor (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureDescriptor>> && 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::SensorFeatureDescriptor>> && frame_ptr)
template <typename... Args>
SensorFeatureDescriptor & set_threshold_low (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
SensorFeatureDescriptor & set_sampling_rate (::fidl::AnyArena & allocator, Args &&... args)

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