template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_hardware_lightsensor::wire::Metadata Build ()

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

bool has_gain ()
void clear_gain ()

Clears the gain field.

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

O(number_of_fields) complexity.

uint8_t & gain ()

Getter for gain.

BuilderImpl & gain (uint8_t elem)

Setter for gain.

bool has_integration_time ()
void clear_integration_time ()

Clears the integration_time field.

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

O(number_of_fields) complexity.

int64_t & integration_time ()

Getter for integration_time.

BuilderImpl & integration_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

Setter for integration_time.

bool has_polling_time ()
void clear_polling_time ()

Clears the polling_time field.

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

O(number_of_fields) complexity.

int64_t & polling_time ()

0 means no polling.

BuilderImpl & polling_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

0 means no polling.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_lightsensor::wire::Metadata, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_lightsensor::wire::Metadata>> && frame)

Records