class SensorFeatureDescriptor
Defined at line 3392 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.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 Methods
void SensorFeatureDescriptor (Storage_ storage)
void SensorFeatureDescriptor ()
Defined at line 3397 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void SensorFeatureDescriptor (SensorFeatureDescriptor && )
Defined at line 3398 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void SensorFeatureDescriptor (const SensorFeatureDescriptor & other)
SensorFeatureDescriptor & operator= (SensorFeatureDescriptor && )
Defined at line 3399 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
SensorFeatureDescriptor & operator= (const SensorFeatureDescriptor & other)
bool operator== (const SensorFeatureDescriptor & other)
bool operator!= (const SensorFeatureDescriptor & other)
bool IsEmpty ()
const std::optional< ::fuchsia_input_report::Axis> & report_interval ()
Valid range of the reporting interval for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the reporting
interval.
::std::optional< ::fuchsia_input_report::Axis> & report_interval ()
Valid range of the reporting interval for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the reporting
interval.
SensorFeatureDescriptor & report_interval (std::optional< ::fuchsia_input_report::Axis> value)
Valid range of the reporting interval for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the reporting
interval.
const std::optional< ::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.
::std::optional< ::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.
SensorFeatureDescriptor & sensitivity (std::optional< ::std::vector< ::fuchsia_input_report::SensorAxis>> value)
Valid range of the sensitivity for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the sensitivity.
const std::optional<bool> & supports_reporting_state ()
True iff `SensorFeatureReport` supports setting/getting the
`SensorReportingState`.
Optional. Present iff sensor supports getting/setting the reporting
state.
::std::optional<bool> & supports_reporting_state ()
True iff `SensorFeatureReport` supports setting/getting the
`SensorReportingState`.
Optional. Present iff sensor supports getting/setting the reporting
state.
SensorFeatureDescriptor & supports_reporting_state (std::optional<bool> value)
True iff `SensorFeatureReport` supports setting/getting the
`SensorReportingState`.
Optional. Present iff sensor supports getting/setting the reporting
state.
const std::optional< ::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.
::std::optional< ::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.
SensorFeatureDescriptor & threshold_high (std::optional< ::std::vector< ::fuchsia_input_report::SensorAxis>> value)
Valid range of the high threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the high
threshold values.
const std::optional< ::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.
::std::optional< ::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.
SensorFeatureDescriptor & threshold_low (std::optional< ::std::vector< ::fuchsia_input_report::SensorAxis>> value)
Valid range of the low threshold values for the given `SensorType`.
Optional. Present iff sensor supports getting/setting the low
threshold values.
const std::optional< ::fuchsia_input_report::Axis> & sampling_rate ()
Valid range of sampling rates this sensor supports.
Optional. Present iff sensor supports getting/setting the sampling
rate.
::std::optional< ::fuchsia_input_report::Axis> & sampling_rate ()
Valid range of sampling rates this sensor supports.
Optional. Present iff sensor supports getting/setting the sampling
rate.
SensorFeatureDescriptor & sampling_rate (std::optional< ::fuchsia_input_report::Axis> value)
Valid range of sampling rates this sensor supports.
Optional. Present iff sensor supports getting/setting the sampling
rate.
const std::optional<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.
::std::optional<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.
SensorFeatureDescriptor & report_id (std::optional<uint8_t> value)
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.
void SensorFeatureDescriptor (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits