template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 6128 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Public Methods
::fuchsia_input_report::wire::SensorFeatureDescriptor Build ()
Build and return the table. The builder should not be used after this.
bool has_report_interval ()
void clear_report_interval ()
Clears the report_interval field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_input_report::wire::Axis & report_interval ()
Describes the minimum and maximum reporting interval this sensor
supports.
BuilderImpl & report_interval (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::Axis>> elem)
Describes the minimum and maximum reporting interval this sensor
supports.
bool has_sensitivity ()
void clear_sensitivity ()
Clears the sensitivity field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & sensitivity ()
Sets the sensitivity for the given `SensorType`.
BuilderImpl & sensitivity (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>>> elem)
Sets the sensitivity for the given `SensorType`.
bool has_supports_reporting_state ()
void clear_supports_reporting_state ()
Clears the supports_reporting_state field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & supports_reporting_state ()
If this is true then SensorFeatureReport supports setting a
SensorReportingState.
BuilderImpl & supports_reporting_state (bool elem)
If this is true then SensorFeatureReport supports setting a
SensorReportingState.
bool has_threshold_high ()
void clear_threshold_high ()
Clears the threshold_high field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_high ()
Sets the high threshold values for the given `SensorType`.
BuilderImpl & threshold_high (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>>> elem)
Sets the high threshold values for the given `SensorType`.
bool has_threshold_low ()
void clear_threshold_low ()
Clears the threshold_low field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis> & threshold_low ()
Sets the low threshold values for the given `SensorType`.
BuilderImpl & threshold_low (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::SensorAxis>>> elem)
Sets the low threshold values for the given `SensorType`.
bool has_sampling_rate ()
void clear_sampling_rate ()
Clears the sampling_rate field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_input_report::wire::Axis & sampling_rate ()
Describes the minimum and maximum sampling rate this sensor supports.
BuilderImpl & sampling_rate (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_input_report::wire::Axis>> elem)
Describes the minimum and maximum sampling rate this sensor supports.
bool has_report_id ()
void clear_report_id ()
Clears the report_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & report_id ()
ReportID of current descriptor. Report with same report ID should be
associated with this descriptor.
BuilderImpl & report_id (uint8_t elem)
ReportID of current descriptor. Report with same report ID should be
associated with this descriptor.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_input_report::wire::SensorFeatureDescriptor, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureDescriptor>> && frame)