template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 222 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/wire_types.h

Public Methods

::fuchsia_hardware_sensors::wire::FixedValuesPlaybackConfig Build ()

Build and return the table. The builder should not be used after this.

bool has_sensor_list ()
void clear_sensor_list ()

Clears the sensor_list field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_sensors_types::wire::SensorInfo> & sensor_list ()

Sensors that will be advertised through the Driver protocol.

Required.

BuilderImpl & sensor_list (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_sensors_types::wire::SensorInfo>>> elem)

Sensors that will be advertised through the Driver protocol.

Required.

bool has_sensor_events ()
void clear_sensor_events ()

Clears the sensor_events field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_sensors_types::wire::SensorEvent> & sensor_events ()

SensorsEvents which will be played back through the Driver protocol.

Required.

BuilderImpl & sensor_events (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_sensors_types::wire::SensorEvent>>> elem)

SensorsEvents which will be played back through the Driver protocol.

Required.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_sensors::wire::FixedValuesPlaybackConfig, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_sensors::wire::FixedValuesPlaybackConfig>> && frame)

Records