class SensorFeatureReport

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

A SensorFeatureReport describes the features of a given sensor. If a

FeatureReport is sent to the Input Device it sets the configuration of the device.

If a FeatureReport is requested from the Input Device it shows the device's

current configuration.

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

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::SensorFeatureReport> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> 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::SensorFeatureReport>> && frame_ptr)
void SensorFeatureReport ()

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

void SensorFeatureReport (const SensorFeatureReport & other)

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

void SensorFeatureReport (SensorFeatureReport && other)

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

int64_t & report_interval ()

The time between reports sent by the sensor, in microseconds.

Must fall within the range specified in the descriptor's `report_interval`.

Optional.

bool has_report_interval ()
::fidl::VectorView<int64_t> & sensitivity ()

The sensitivity for various `SensorType`. The order of the values

must match the sensor axes in `SensorDescriptor`.

Must fall within the range specified in the descriptor's `sensitivity`.

Optional.

bool has_sensitivity ()
::fuchsia_input_report::wire::SensorReportingState & reporting_state ()

Determines when the sensor will send reports.

Optional.

bool has_reporting_state ()
::fidl::VectorView<int64_t> & threshold_high ()

The high thresholds for various `SensorType`. The order must match the

sensor axes in `SensorDescriptor`.

Must fall within the range specified in the descriptor's `threshold_high`.

Optional.

bool has_threshold_high ()
::fidl::VectorView<int64_t> & threshold_low ()

The low thresholds for various `SensorType`. The order must match the

sensor axes in `SensorDescriptor`.

Optional.

bool has_threshold_low ()
int64_t & sampling_rate ()

The rate at which the sensor is sampled.

Optional.

bool has_sampling_rate ()
SensorFeatureReport & set_report_interval (::fidl::ObjectView<int64_t> elem)
SensorFeatureReport & set_report_interval (std::nullptr_t )
SensorFeatureReport & clear_report_interval ()
SensorFeatureReport & set_sensitivity (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_sensitivity (std::nullptr_t )
SensorFeatureReport & clear_sensitivity ()
SensorFeatureReport & set_reporting_state (::fuchsia_input_report::wire::SensorReportingState elem)
SensorFeatureReport & clear_reporting_state ()
SensorFeatureReport & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_threshold_high (std::nullptr_t )
SensorFeatureReport & clear_threshold_high ()
SensorFeatureReport & set_threshold_low (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_threshold_low (std::nullptr_t )
SensorFeatureReport & clear_threshold_low ()
SensorFeatureReport & set_sampling_rate (::fidl::ObjectView<int64_t> elem)
SensorFeatureReport & set_sampling_rate (std::nullptr_t )
SensorFeatureReport & clear_sampling_rate ()
void SensorFeatureReport (::fidl::AnyArena & allocator)
void SensorFeatureReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> && 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.

SensorFeatureReport & operator= (const SensorFeatureReport & other)

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

SensorFeatureReport & operator= (SensorFeatureReport && other)

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

void ~SensorFeatureReport ()

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

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

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

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

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

template <typename... Args>
SensorFeatureReport & set_threshold_high (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
SensorFeatureReport & set_threshold_low (::fidl::AnyArena & allocator, Args &&... args)

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

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

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