class SensorFeatureDescriptor

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

Describes the format of the sensor's feature report. Feature reports can be

requested from the sensor, or sent to the sensor.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

SensorFeatureDescriptor & set_report_interval (::fuchsia::input::report::Axis _value)
SensorFeatureDescriptor & set_sensitivity (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorFeatureDescriptor & set_supports_reporting_state (bool _value)
SensorFeatureDescriptor & set_threshold_high (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorFeatureDescriptor & set_threshold_low (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorFeatureDescriptor & set_sampling_rate (::fuchsia::input::report::Axis _value)
SensorFeatureDescriptor & set_report_id (uint8_t _value)
void SensorFeatureDescriptor ()
void SensorFeatureDescriptor (SensorFeatureDescriptor && other)
void ~SensorFeatureDescriptor ()
SensorFeatureDescriptor & operator= (SensorFeatureDescriptor && other)
::std::unique_ptr<SensorFeatureDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SensorFeatureDescriptor * _value, size_t _offset)
zx_status_t Clone (SensorFeatureDescriptor * _result)
const ::fuchsia::input::report::Axis & report_interval ()

Describes the minimum and maximum reporting interval this sensor

supports.

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

::fuchsia::input::report::Axis * mutable_report_interval ()

Describes the minimum and maximum reporting interval this sensor

supports.

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

const ::std::vector< ::fuchsia::input::report::SensorAxis> & sensitivity ()

Sets the sensitivity for the given `SensorType`.

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

::std::vector< ::fuchsia::input::report::SensorAxis> * mutable_sensitivity ()

Sets the sensitivity for the given `SensorType`.

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

const bool & supports_reporting_state ()

If this is true then SensorFeatureReport supports setting a

SensorReportingState.

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

bool has_supports_reporting_state ()

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

bool * mutable_supports_reporting_state ()

If this is true then SensorFeatureReport supports setting a

SensorReportingState.

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

void clear_supports_reporting_state ()

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

const ::std::vector< ::fuchsia::input::report::SensorAxis> & threshold_high ()

Sets the high threshold values for the given `SensorType`.

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

::std::vector< ::fuchsia::input::report::SensorAxis> * mutable_threshold_high ()

Sets the high threshold values for the given `SensorType`.

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

const ::std::vector< ::fuchsia::input::report::SensorAxis> & threshold_low ()

Sets the low threshold values for the given `SensorType`.

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

::std::vector< ::fuchsia::input::report::SensorAxis> * mutable_threshold_low ()

Sets the low threshold values for the given `SensorType`.

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

const ::fuchsia::input::report::Axis & sampling_rate ()

Describes the minimum and maximum sampling rate this sensor supports.

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

::fuchsia::input::report::Axis * mutable_sampling_rate ()

Describes the minimum and maximum sampling rate this sensor supports.

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

const uint8_t & report_id ()

ReportID of current descriptor. Report with same report ID should be

associated with this descriptor.

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

bool has_report_id ()

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

uint8_t * mutable_report_id ()

ReportID of current descriptor. Report with same report ID should be

associated with this descriptor.

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

void clear_report_id ()

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