template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_audio_mixer::wire::GraphCreateConsumerRequest Build ()

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

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

Name of this node, used for diagnostics only. See "IDs and names" in the

comments for [`Graph`].

Optional. Empty if not specified.

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

Name of this node, used for diagnostics only. See "IDs and names" in the

comments for [`Graph`].

Optional. Empty if not specified.

bool has_direction ()
void clear_direction ()

Clears the direction field.

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

O(number_of_fields) complexity.

::fuchsia_audio_mixer::wire::PipelineDirection & direction ()

Direction of audio data consumed by this node.

Required.

BuilderImpl & direction (::fuchsia_audio_mixer::wire::PipelineDirection elem)

Direction of audio data consumed by this node.

Required.

bool has_data_sink ()
void clear_data_sink ()

Clears the data_sink field.

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

O(number_of_fields) complexity.

::fuchsia_audio_mixer::wire::ConsumerDataSink & data_sink ()

Data sink for this consumer.

Required.

BuilderImpl & data_sink (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_audio_mixer::wire::ConsumerDataSink>> elem)

Data sink for this consumer.

Required.

bool has_source_sample_type ()
void clear_source_sample_type ()

Clears the source_sample_type field.

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

O(number_of_fields) complexity.

::fuchsia_audio::wire::SampleType & source_sample_type ()

The consumer's source edge must have the given sample type. If not

specified, this defaults to the same sample type as `data_sink`.

No matter what, the source edge source must have the same frame

rate and channelization as `data_sink`. Put differently, consumers

can perform sample type conversion, but they cannot perform rate

conversion or rechannelization.

BuilderImpl & source_sample_type (::fuchsia_audio::wire::SampleType elem)

The consumer's source edge must have the given sample type. If not

specified, this defaults to the same sample type as `data_sink`.

No matter what, the source edge source must have the same frame

rate and channelization as `data_sink`. Put differently, consumers

can perform sample type conversion, but they cannot perform rate

conversion or rechannelization.

bool has_thread ()
void clear_thread ()

Clears the thread field.

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

O(number_of_fields) complexity.

uint64_t & thread ()

The Consumer's mix job should execute on this thread.

Required.

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

The Consumer's mix job should execute on this thread.

Required.

bool has_external_delay_watcher ()
void clear_external_delay_watcher ()

Clears the external_delay_watcher field.

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

O(number_of_fields) complexity.

::fuchsia_audio_mixer::wire::ExternalDelayWatcher & external_delay_watcher ()

If `direction` is OUTPUT, this must be specified. This reports the

delay between when a frame is written by this consumer and when that

frame is rendered at its final destination (such as a speaker).

If `direction` is INPUT, this must be empty.

BuilderImpl & external_delay_watcher (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_audio_mixer::wire::ExternalDelayWatcher>> elem)

If `direction` is OUTPUT, this must be specified. This reports the

delay between when a frame is written by this consumer and when that

frame is rendered at its final destination (such as a speaker).

If `direction` is INPUT, this must be empty.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_audio_mixer::wire::GraphCreateConsumerRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_mixer::wire::GraphCreateConsumerRequest>> && frame)

Records