class SensorFeatureDescriptor
Defined at line 5248 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 5256 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 5260 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 5266 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 5274 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 5283 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 5287 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 5292 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 5300 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 5310 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 5314 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 5320 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 5328 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 5337 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 5341 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 5346 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 5354 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 5363 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 5367 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 5372 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 5380 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 5389 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 5393 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 5398 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 5406 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 5416 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 5420 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 5426 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 5434 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h