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

bool has_report_interval ()
bool has_sensitivity ()
bool has_supports_reporting_state ()
bool has_threshold_high ()
bool has_threshold_low ()
SensorFeatureDescriptor & clear_sensitivity ()
SensorFeatureDescriptor & clear_supports_reporting_state ()
SensorFeatureDescriptor & clear_threshold_high ()
SensorFeatureDescriptor & clear_threshold_low ()
SensorFeatureDescriptor & clear_sampling_rate ()
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 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_sampling_rate ()
bool has_report_id ()
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.

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

bool & supports_reporting_state ()

True iff `SensorFeatureReport` supports setting/getting the

`SensorReportingState`.

Optional. Present iff sensor supports getting/setting the 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.

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

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

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.

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 & set_supports_reporting_state (bool elem)
SensorFeatureDescriptor & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_high (std::nullptr_t )
SensorFeatureDescriptor & set_threshold_low (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_low (std::nullptr_t )
SensorFeatureDescriptor & set_sampling_rate (::fidl::ObjectView< ::fuchsia_input_report::wire::Axis> elem)
SensorFeatureDescriptor & set_sampling_rate (std::nullptr_t )
SensorFeatureDescriptor & set_report_id (uint8_t elem)
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_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

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

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

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