class SensorFeatureDescriptor
Defined at line 5358 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 5366 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 5370 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 5376 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 5384 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 5393 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 5397 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 5402 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 5410 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 5420 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 5424 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 5430 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 5438 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 5447 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 5451 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 5456 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 5464 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 5473 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 5477 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 5482 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 5490 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 5499 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 5503 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 5508 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 5516 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 5526 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 5530 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 5536 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 5544 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h