class SensorFeatureDescriptor

Defined at line 6000 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

Describes the format of the sensor's feature report. Feature reports can be

requested from the sensor, or sent to the sensor.

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::SensorFeatureDescriptor> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::SensorFeatureDescriptor> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureDescriptor>> 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::SensorFeatureDescriptor>> && frame_ptr)
void SensorFeatureDescriptor ()

Defined at line 6002 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

bool has_report_interval ()
bool has_sensitivity ()
bool has_supports_reporting_state ()
bool has_threshold_high ()
bool has_threshold_low ()
SensorFeatureDescriptor & clear_sensitivity ()
SensorFeatureDescriptor & clear_supports_reporting_state ()
SensorFeatureDescriptor & clear_threshold_high ()
SensorFeatureDescriptor & clear_threshold_low ()
SensorFeatureDescriptor & clear_sampling_rate ()
SensorFeatureDescriptor & clear_report_id ()
void SensorFeatureDescriptor (::fidl::AnyArena & allocator)
void SensorFeatureDescriptor (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureDescriptor>> && 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.

void SensorFeatureDescriptor (const SensorFeatureDescriptor & other)

Defined at line 6003 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

bool has_sampling_rate ()
bool has_report_id ()
SensorFeatureDescriptor & clear_report_interval ()
SensorFeatureDescriptor & operator= (const SensorFeatureDescriptor & other)

Defined at line 6004 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

void SensorFeatureDescriptor (SensorFeatureDescriptor && other)

Defined at line 6005 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

SensorFeatureDescriptor & operator= (SensorFeatureDescriptor && other)

Defined at line 6006 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

::fuchsia_input_report::wire::Axis & report_interval ()

Describes the minimum and maximum reporting interval this sensor

supports.

::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & sensitivity ()

Sets the sensitivity for the given `SensorType`.

bool & supports_reporting_state ()

If this is true then SensorFeatureReport supports setting a

SensorReportingState.

::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_high ()

Sets the high threshold values for the given `SensorType`.

::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_low ()

Sets the low threshold values for the given `SensorType`.

::fuchsia_input_report::wire::Axis & sampling_rate ()

Describes the minimum and maximum sampling rate this sensor supports.

uint8_t & report_id ()

ReportID of current descriptor. Report with same report ID should be

associated with this descriptor.

SensorFeatureDescriptor & set_report_interval (::fidl::ObjectView< ::fuchsia_input_report::wire::Axis> elem)
SensorFeatureDescriptor & set_report_interval (std::nullptr_t )
SensorFeatureDescriptor & set_sensitivity (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_sensitivity (std::nullptr_t )
SensorFeatureDescriptor & set_supports_reporting_state (bool elem)
SensorFeatureDescriptor & set_threshold_high (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_high (std::nullptr_t )
SensorFeatureDescriptor & set_threshold_low (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>> elem)
SensorFeatureDescriptor & set_threshold_low (std::nullptr_t )
SensorFeatureDescriptor & set_sampling_rate (::fidl::ObjectView< ::fuchsia_input_report::wire::Axis> elem)
SensorFeatureDescriptor & set_sampling_rate (std::nullptr_t )
SensorFeatureDescriptor & set_report_id (uint8_t elem)
void ~SensorFeatureDescriptor ()

Defined at line 6008 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

template <typename... Args>
SensorFeatureDescriptor & set_report_interval (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6061 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

template <typename... Args>
SensorFeatureDescriptor & set_sensitivity (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6070 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

template <typename... Args>
SensorFeatureDescriptor & set_threshold_high (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6082 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

template <typename... Args>
SensorFeatureDescriptor & set_threshold_low (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6091 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

template <typename... Args>
SensorFeatureDescriptor & set_sampling_rate (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 6100 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