template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1679 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::Encoding Build ()

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

bool has_decoded_channel_count ()
void clear_decoded_channel_count ()

Clears the decoded_channel_count field.

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

O(number_of_fields) complexity.

uint32_t & decoded_channel_count ()

Number of channels for the stream, once it is decoded.

Required.

BuilderImpl & decoded_channel_count (uint32_t elem)

Number of channels for the stream, once it is decoded.

Required.

bool has_decoded_frame_rate ()
void clear_decoded_frame_rate ()

Clears the decoded_frame_rate field.

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

O(number_of_fields) complexity.

uint32_t & decoded_frame_rate ()

The frame rate for the stream, once it is decoded. This is a hint for decoders.

Optional.

BuilderImpl & decoded_frame_rate (uint32_t elem)

The frame rate for the stream, once it is decoded. This is a hint for decoders.

Optional.

bool has_average_encoding_bitrate ()
void clear_average_encoding_bitrate ()

Clears the average_encoding_bitrate field.

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

O(number_of_fields) complexity.

uint32_t & average_encoding_bitrate ()

The average bitrate of the stream in bits per second.

Required.

BuilderImpl & average_encoding_bitrate (uint32_t elem)

The average bitrate of the stream in bits per second.

Required.

bool has_encoding_type ()
void clear_encoding_type ()

Clears the encoding_type field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio::wire::EncodingType & encoding_type ()

The encoding type for the stream.

Required.

BuilderImpl & encoding_type (::fuchsia_hardware_audio::wire::EncodingType elem)

The encoding type for the stream.

Required.

Protected Methods

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

Records