template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 9697 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::SyntheticClockRealmCreateClockRequest 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 clock, used for diagnostics only.
If specified, ideally this should be globally unique and have a
printable CamelCase format, but uniqueness is not required.
Optional. Empty if not specified.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Name of this clock, used for diagnostics only.
If specified, ideally this should be globally unique and have a
printable CamelCase format, but uniqueness is not required.
Optional. Empty if not specified.
bool has_domain ()
void clear_domain ()
Clears the domain field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & domain ()
Domain in which the clock runs. This is isolated from clock domains
in other realms, including the real-time realm. In particular, a
value of `CLOCK_DOMAIN_MONOTONIC` means this clock has the same rate
as the realm's synthetic monotonic clock -- it does NOT mean the
clock has the same rate as the system-wide monotonic clock.
Required.
BuilderImpl & domain (uint32_t elem)
Domain in which the clock runs. This is isolated from clock domains
in other realms, including the real-time realm. In particular, a
value of `CLOCK_DOMAIN_MONOTONIC` means this clock has the same rate
as the realm's synthetic monotonic clock -- it does NOT mean the
clock has the same rate as the system-wide monotonic clock.
Required.
bool has_adjustable ()
void clear_adjustable ()
Clears the adjustable field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & adjustable ()
Whether the clock's rate can be adjusted via the `control` channel.
Required.
BuilderImpl & adjustable (bool elem)
Whether the clock's rate can be adjusted via the `control` channel.
Required.
bool has_control ()
void clear_control ()
Clears the control field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::ServerEnd< ::fuchsia_audio_mixer::SyntheticClock> & control ()
A channel that can be used to read and adjust the clock. If the
client does not need to read or adjust the clock, this may be
omitted.
Optional.
BuilderImpl & control (::fidl::ServerEnd< ::fuchsia_audio_mixer::SyntheticClock> elem)
A channel that can be used to read and adjust the clock. If the
client does not need to read or adjust the clock, this may be
omitted.
Optional.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_audio_mixer::wire::SyntheticClockRealmCreateClockRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_mixer::wire::SyntheticClockRealmCreateClockRequest>> && frame)