template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3745 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h
Public Methods
::fuchsia_audio_device::wire::ElementDaiFormatSet Build ()
Build and return the table. The builder should not be used after this.
bool has_element_id ()
void clear_element_id ()
Clears the element_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & element_id ()
The ID of the element being described. This must match an ENDPOINT (DAI_INTERCONNECT)
entry in the list of elements contained in the device's `Info` table. If describing the
supported DAI formats for a Codec device, this value should be
`DEFAULT_DAI_INTERCONNECT_ELEMENT_ID` (1).
Required.
BuilderImpl & element_id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The ID of the element being described. This must match an ENDPOINT (DAI_INTERCONNECT)
entry in the list of elements contained in the device's `Info` table. If describing the
supported DAI formats for a Codec device, this value should be
`DEFAULT_DAI_INTERCONNECT_ELEMENT_ID` (1).
Required.
bool has_format_sets ()
void clear_format_sets ()
Clears the format_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::DaiSupportedFormats> & format_sets ()
The dai_format_set entries that this element supports.
Required. Must contain at least one entry.
BuilderImpl & format_sets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_audio::wire::DaiSupportedFormats>>> elem)
The dai_format_set entries that this element supports.
Required. Must contain at least one entry.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_audio_device::wire::ElementDaiFormatSet, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_device::wire::ElementDaiFormatSet>> && frame)