class SensorFeatureReport

Defined at line 2897 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

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

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

bool has_report_interval ()

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

int64_t * mutable_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.

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

void clear_report_interval ()

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

const ::std::vector<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.

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

bool has_sensitivity ()

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

::std::vector<int64_t> * mutable_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.

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

void clear_sensitivity ()

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

const ::fuchsia::input::report::SensorReportingState & reporting_state ()

Determines when the sensor will send reports.

Optional.

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

bool has_reporting_state ()

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

::fuchsia::input::report::SensorReportingState * mutable_reporting_state ()

Determines when the sensor will send reports.

Optional.

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

void clear_reporting_state ()

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

bool has_threshold_high ()

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

::std::vector<int64_t> * mutable_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.

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

void clear_threshold_high ()

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

bool has_threshold_low ()

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

::std::vector<int64_t> * mutable_threshold_low ()

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

sensor axes in `SensorDescriptor`.

Optional.

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

void clear_threshold_low ()

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

const int64_t & sampling_rate ()

The rate at which the sensor is sampled.

Optional.

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

bool has_sampling_rate ()

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

int64_t * mutable_sampling_rate ()

The rate at which the sensor is sampled.

Optional.

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

void clear_sampling_rate ()

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

SensorFeatureReport & set_report_interval (int64_t _value)
SensorFeatureReport & set_sensitivity (::std::vector<int64_t> _value)
SensorFeatureReport & set_reporting_state (::fuchsia::input::report::SensorReportingState _value)
SensorFeatureReport & set_threshold_high (::std::vector<int64_t> _value)
SensorFeatureReport & set_threshold_low (::std::vector<int64_t> _value)
SensorFeatureReport & set_sampling_rate (int64_t _value)
void SensorFeatureReport ()
void SensorFeatureReport (SensorFeatureReport && other)
const ::std::vector<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.

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

const ::std::vector<int64_t> & threshold_low ()

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

sensor axes in `SensorDescriptor`.

Optional.

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

void ~SensorFeatureReport ()
SensorFeatureReport & operator= (SensorFeatureReport && other)
::std::unique_ptr<SensorFeatureReport> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SensorFeatureReport * _value, size_t _offset)
zx_status_t Clone (SensorFeatureReport * _result)