template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 2958 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::SensorFeatureReport 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.
int64_t & report_interval ()
The time between reports sent by the sensor.
BuilderImpl & report_interval (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The time between reports sent by the sensor.
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<int64_t> & sensitivity ()
The sensitivity for various `SensorType`. This vector must be given in
the order of the descriptor's `sensitivity` vector.
BuilderImpl & sensitivity (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<int64_t>>> elem)
The sensitivity for various `SensorType`. This vector must be given in
the order of the descriptor's `sensitivity` vector.
bool has_reporting_state ()
void clear_reporting_state ()
Clears the reporting_state field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_input_report::wire::SensorReportingState & reporting_state ()
This determines when the sensor will send reports.
BuilderImpl & reporting_state (::fuchsia_input_report::wire::SensorReportingState elem)
This determines when the sensor will send reports.
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<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.
BuilderImpl & threshold_high (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<int64_t>>> elem)
The high thresholds for various `SensorType`. This vector must be given in
the order of the descriptor's `threshold_high` vector.
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<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.
BuilderImpl & threshold_low (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<int64_t>>> elem)
The low thresholds for various `SensorType`. This vector must be given in
the order of the descriptor's `threshold_low` vector.
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.
int64_t & sampling_rate ()
The rate at which the sensor is sampled.
BuilderImpl & sampling_rate (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The rate at which the sensor is sampled.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_input_report::wire::SensorFeatureReport, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SensorFeatureReport>> && frame)