class SensorInputDescriptor
Defined at line 5105 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
Describes the format of the input report that will be sent from the sensor
to the device.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::vector< ::fuchsia::input::report::SensorAxis> & values ()
Each `SensorAxis` in `values` describes what a sensor is measuring and its range.
These will directly correspond to the values in `SensorReport`.
Defined at line 5113 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_values ()
Defined at line 5117 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_values ()
Each `SensorAxis` in `values` describes what a sensor is measuring and its range.
These will directly correspond to the values in `SensorReport`.
Defined at line 5123 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_values ()
Defined at line 5131 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 5141 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 5145 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 5151 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 5159 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
SensorInputDescriptor & set_values (::std::vector< ::fuchsia::input::report::SensorAxis> _value)
SensorInputDescriptor & set_report_id (uint8_t _value)
void SensorInputDescriptor ()
void SensorInputDescriptor (SensorInputDescriptor && other)
void ~SensorInputDescriptor ()
SensorInputDescriptor & operator= (SensorInputDescriptor && other)
::std::unique_ptr<SensorInputDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SensorInputDescriptor * _value, size_t _offset)
zx_status_t Clone (SensorInputDescriptor * _result)