class SensorFeatureReport

Defined at line 3173 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 SensorFeatureReport ()

Defined at line 3175 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 3176 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

SensorFeatureReport & clear_report_interval ()
SensorFeatureReport & operator= (const SensorFeatureReport & other)

Defined at line 3177 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 3178 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 3179 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 ()
template <typename... Args>
SensorFeatureReport & set_report_interval (::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

::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 & 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 ()
void ~SensorFeatureReport ()

Defined at line 3181 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 3257 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

SensorFeatureReport & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_threshold_high (std::nullptr_t )
SensorFeatureReport & clear_threshold_high ()
template <typename... Args>
SensorFeatureReport & set_threshold_high (::fidl::AnyArena & allocator, Args &&... args)

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

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.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> && frame_ptr)
template <typename... Args>
SensorFeatureReport & set_threshold_low (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 3278 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 3287 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