template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 4531 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/cpp/wire_types.h

Public Methods

::fuchsia_hardware_audio_signalprocessing::wire::Element Build ()

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

bool has_id ()
void clear_id ()

Clears the id field.

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

O(number_of_fields) complexity.

uint64_t & id ()

Unique ID for this element. The scope of this id is only within the `SignalProcessing`

protocol lifespan, i.e. until the channel associated with the protocol is closed.

Required.

BuilderImpl & id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

Unique ID for this element. The scope of this id is only within the `SignalProcessing`

protocol lifespan, i.e. until the channel associated with the protocol is closed.

Required.

bool has_type ()
void clear_type ()

Clears the type field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio_signalprocessing::wire::ElementType & type ()

Processing element type.

Required.

BuilderImpl & type (::fuchsia_hardware_audio_signalprocessing::wire::ElementType elem)

Processing element type.

Required.

bool has_type_specific ()
void clear_type_specific ()

Clears the type_specific field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio_signalprocessing::wire::TypeSpecificElement & type_specific ()

Type-specific parameters for the processing element.

Required for `ElementType`s DAI_INTERCONNECT, DYNAMICS, EQUALIZER, GAIN, VENDOR_SPECIFIC.

Invalid if specified for elements of type AUTOMATIC_GAIN_CONTROL, AUTOMATIC_GAIN_LIMITER,

CONNECTION_POINT, DELAY, MUTE, RING_BUFFER or SAMPLE_RATE_CONVERSION.

BuilderImpl & type_specific (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_audio_signalprocessing::wire::TypeSpecificElement>> elem)

Type-specific parameters for the processing element.

Required for `ElementType`s DAI_INTERCONNECT, DYNAMICS, EQUALIZER, GAIN, VENDOR_SPECIFIC.

Invalid if specified for elements of type AUTOMATIC_GAIN_CONTROL, AUTOMATIC_GAIN_LIMITER,

CONNECTION_POINT, DELAY, MUTE, RING_BUFFER or SAMPLE_RATE_CONVERSION.

bool has_description ()
void clear_description ()

Clears the description field.

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

O(number_of_fields) complexity.

::fidl::StringView & description ()

If included, a textual description of the processing element.

Optional. If present, must not be empty.

BuilderImpl & description (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

If included, a textual description of the processing element.

Optional. If present, must not be empty.

bool has_can_stop ()
void clear_can_stop ()

Clears the can_stop field.

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

O(number_of_fields) complexity.

bool & can_stop ()

If true, the processing element can be stopped via `SetElementState`.

If not included or false, the processing element is always started.

Optional.

BuilderImpl & can_stop (bool elem)

If true, the processing element can be stopped via `SetElementState`.

If not included or false, the processing element is always started.

Optional.

bool has_can_bypass ()
void clear_can_bypass ()

Clears the can_bypass field.

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

O(number_of_fields) complexity.

bool & can_bypass ()

If true, the processing element can be bypassed via `SetElementState`.

If not included or false, the processing element cannot be bypassed.

By definition, elements of type DAI_INTERCONNECT or RING_BUFFER cannot be bypassed and

must never set this field to true.

Optional.

BuilderImpl & can_bypass (bool elem)

If true, the processing element can be bypassed via `SetElementState`.

If not included or false, the processing element cannot be bypassed.

By definition, elements of type DAI_INTERCONNECT or RING_BUFFER cannot be bypassed and

must never set this field to true.

Optional.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_audio_signalprocessing::wire::Element, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio_signalprocessing::wire::Element>> && frame)

Records