class SensorFeatureDescriptor
Defined at line 5453 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.
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.
void SensorFeatureDescriptor ()
void SensorFeatureDescriptor (SensorFeatureDescriptor && other)
const ::fuchsia::input::Axis & report_interval ()
Valid range of the reporting interval for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the reporting
interval.
Defined at line 5463 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 5467 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::Axis * mutable_report_interval ()
Valid range of the reporting interval for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the reporting
interval.
Defined at line 5475 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 5483 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 ()
Valid range of the sensitivity for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the sensitivity.
Defined at line 5494 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 5498 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 ()
Valid range of the sensitivity for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the sensitivity.
Defined at line 5505 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 5513 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 5595 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 ()
Valid range of the low threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the low
threshold values.
Defined at line 5603 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 5611 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::Axis & sampling_rate ()
Valid range of sampling rates this sensor supports.
Optional. Present iff sensor supports getting/setting the sampling
rate.
Defined at line 5623 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 5627 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::Axis * mutable_sampling_rate ()
Valid range of sampling rates this sensor supports.
Optional. Present iff sensor supports getting/setting the sampling
rate.
Defined at line 5635 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 5643 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const uint8_t & report_id ()
A sensor may have multiple feature descriptors of the same type.
Reports with the same report ID are associated with this descriptor.
Required iff the sensor has more than one feature descriptors.
Defined at line 5655 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 5659 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
uint8_t * mutable_report_id ()
A sensor may have multiple feature descriptors of the same type.
Reports with the same report ID are associated with this descriptor.
Required iff the sensor has more than one feature descriptors.
Defined at line 5667 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 5675 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
SensorFeatureDescriptor & set_report_interval (::fuchsia::input::Axis _value)
SensorFeatureDescriptor & set_sensitivity (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorFeatureDescriptor & set_threshold_low (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorFeatureDescriptor & set_sampling_rate (::fuchsia::input::Axis _value)
SensorFeatureDescriptor & set_report_id (uint8_t _value)
const bool & supports_reporting_state ()
True iff `SensorFeatureReport` supports setting/getting the
`SensorReportingState`.
Optional. Present iff sensor supports getting/setting the reporting
state.
Defined at line 5526 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 5530 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool * mutable_supports_reporting_state ()
True iff `SensorFeatureReport` supports setting/getting the
`SensorReportingState`.
Optional. Present iff sensor supports getting/setting the reporting
state.
Defined at line 5539 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 5547 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
SensorFeatureDescriptor & set_supports_reporting_state (bool _value)
const ::std::vector< ::fuchsia::input::report::SensorAxis> & threshold_high ()
Valid range of the high threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the high
threshold values.
Defined at line 5559 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 5563 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 ()
Valid range of the high threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the high
threshold values.
Defined at line 5571 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 5579 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
SensorFeatureDescriptor & set_threshold_high (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
const ::std::vector< ::fuchsia::input::report::SensorAxis> & threshold_low ()
Valid range of the low threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the low
threshold values.
Defined at line 5591 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
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)