class SensorFeatureReport
Defined at line 2987 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
A SensorFeatureReport describes the features of a given sensor. If a
FeatureReport is sent to the Input Device it sets the configuration of the device.
If a FeatureReport is requested from the Input Device it shows the device's
current configuration.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_input_report::wire::SensorFeatureReport> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::SensorFeatureReport> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> && frame_ptr)
void SensorFeatureReport ()
Defined at line 2989 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void SensorFeatureReport (const SensorFeatureReport & other)
Defined at line 2990 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void SensorFeatureReport (SensorFeatureReport && other)
Defined at line 2992 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
int64_t & report_interval ()
The time between reports sent by the sensor.
bool has_report_interval ()
::fidl::VectorView<int64_t> & sensitivity ()
The sensitivity for various `SensorType`. This vector must be given in
the order of the descriptor's `sensitivity` vector.
bool has_sensitivity ()
::fuchsia_input_report::wire::SensorReportingState & reporting_state ()
This determines when the sensor will send reports.
bool has_reporting_state ()
::fidl::VectorView<int64_t> & threshold_high ()
The high thresholds for various `SensorType`. This vector must be given in
the order of the descriptor's `threshold_high` vector.
bool has_threshold_high ()
::fidl::VectorView<int64_t> & threshold_low ()
The low thresholds for various `SensorType`. This vector must be given in
the order of the descriptor's `threshold_low` vector.
bool has_threshold_low ()
int64_t & sampling_rate ()
The rate at which the sensor is sampled.
bool has_sampling_rate ()
SensorFeatureReport & set_report_interval (::fidl::ObjectView<int64_t> elem)
SensorFeatureReport & set_report_interval (std::nullptr_t )
SensorFeatureReport & clear_report_interval ()
SensorFeatureReport & set_sensitivity (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_sensitivity (std::nullptr_t )
SensorFeatureReport & clear_sensitivity ()
SensorFeatureReport & set_reporting_state (::fuchsia_input_report::wire::SensorReportingState elem)
SensorFeatureReport & clear_reporting_state ()
SensorFeatureReport & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_threshold_high (std::nullptr_t )
SensorFeatureReport & clear_threshold_high ()
SensorFeatureReport & set_threshold_low (::fidl::ObjectView< ::fidl::VectorView<int64_t>> elem)
SensorFeatureReport & set_threshold_low (std::nullptr_t )
SensorFeatureReport & clear_threshold_low ()
SensorFeatureReport & set_sampling_rate (::fidl::ObjectView<int64_t> elem)
SensorFeatureReport & set_sampling_rate (std::nullptr_t )
SensorFeatureReport & clear_sampling_rate ()
void SensorFeatureReport (::fidl::AnyArena & allocator)
void SensorFeatureReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
SensorFeatureReport & operator= (const SensorFeatureReport & other)
Defined at line 2991 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
SensorFeatureReport & operator= (SensorFeatureReport && other)
Defined at line 2993 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void ~SensorFeatureReport ()
Defined at line 2995 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
SensorFeatureReport & set_report_interval (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3044 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
SensorFeatureReport & set_sensitivity (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3053 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
SensorFeatureReport & set_threshold_high (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3065 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
SensorFeatureReport & set_threshold_low (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3074 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
SensorFeatureReport & set_sampling_rate (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 3083 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder