template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_hardware_audio::wire::SupportedEncodings Build ()

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

bool has_channel_sets ()
void clear_channel_sets ()

Clears the channel_sets field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_audio::wire::ChannelSet> & channel_sets ()

Vector of possible `ChannelSets` supported.

A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number

of optional attributes.

Each entry in this vector must describe a unique channel count. For example, this

vector cannot contain two different `ChannelSet` entries that both apply to a

2-channel configuration.

Required.

BuilderImpl & channel_sets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::ChannelSet>>> elem)

Vector of possible `ChannelSets` supported.

A `ChannelSet` specifies a channel configuration (including a channel-count), plus a number

of optional attributes.

Each entry in this vector must describe a unique channel count. For example, this

vector cannot contain two different `ChannelSet` entries that both apply to a

2-channel configuration.

Required.

bool has_frame_rates ()
void clear_frame_rates ()

Clears the frame_rates field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint32_t> & frame_rates ()

Vector of possible frame rates supported. Values must be listed in ascending order.

Required.

BuilderImpl & frame_rates (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)

Vector of possible frame rates supported. Values must be listed in ascending order.

Required.

bool has_encoding_types ()
void clear_encoding_types ()

Clears the encoding_types field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_audio::wire::EncodingType> & encoding_types ()

The encoder types that support the configurations listed above.

Required.

BuilderImpl & encoding_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::EncodingType>>> elem)

The encoder types that support the configurations listed above.

Required.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_audio::wire::SupportedEncodings, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::SupportedEncodings>> && frame)

Records