class SensorFeatureReport

Defined at line 2675 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.

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.

Defined at line 2682 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 2686 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.

Defined at line 2691 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 2699 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`. This vector must be given in

the order of the descriptor's `sensitivity` vector.

Defined at line 2709 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 2713 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`. This vector must be given in

the order of the descriptor's `sensitivity` vector.

Defined at line 2719 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 2727 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 ()

This determines when the sensor will send reports.

Defined at line 2736 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 2740 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 ()

This determines when the sensor will send reports.

Defined at line 2745 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 2753 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 2767 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`. This vector must be given in

the order of the descriptor's `threshold_high` vector.

Defined at line 2773 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 2781 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 2795 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`. This vector must be given in

the order of the descriptor's `threshold_low` vector.

Defined at line 2801 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 2809 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.

Defined at line 2818 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 2822 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.

Defined at line 2827 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 2835 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`. This vector must be given in

the order of the descriptor's `threshold_high` vector.

Defined at line 2763 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`. This vector must be given in

the order of the descriptor's `threshold_low` vector.

Defined at line 2791 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)