template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_audio_mixer::SyntheticClockRealm>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_audio_mixer::SyntheticClockRealm::CreateClock> CreateClock (::fuchsia_audio_mixer::wire::SyntheticClockRealmCreateClockRequest SyntheticClockRealmCreateClockRequest)

Creates a new synthetic clock.

Allocates 336 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_mixer::SyntheticClockRealm::ForgetClock> ForgetClock (::fuchsia_audio_mixer::wire::SyntheticClockRealmForgetClockRequest SyntheticClockRealmForgetClockRequest)

Forgets about a synthetic clock. This releases internal resources and

closes the clock's `SyntheticClock` channel. The clock must not be used

by any node in our parent [`Graph`]. After this returns, our parent

[`Graph`] will not recognize this handle.

* error `ZX_ERR_INVALID_ARGS` if missing a required field

* error `ZX_ERR_NOT_FOUND` if `handle` was not created by

[`CreateClock`] or if was already forgotten

* error `ZX_ERR_BAD_STATE` if `handle` is still in use

Allocates 40 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_mixer::SyntheticClockRealm::ObserveClock> ObserveClock (::fuchsia_audio_mixer::wire::SyntheticClockRealmObserveClockRequest SyntheticClockRealmObserveClockRequest)

Observes a synthetic clock. This can observe any clock created by this

realm, including clocks created by [`CreateClock`] as well as clocks

created by [`Graph.CreateGraphControlledClock`] in the parent [`Graph`].

* error `ZX_ERR_INVALID_ARGS` if missing a required field

* error `ZX_ERR_NOT_FOUND` if `handle` was not created by this realm or

if has been forgotten

Allocates 48 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_mixer::SyntheticClockRealm::Now> Now (::fuchsia_audio_mixer::wire::SyntheticClockRealmNowRequest SyntheticClockRealmNowRequest)

Reads the current synthetic monotonic time.

Allocates 32 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_mixer::SyntheticClockRealm::AdvanceBy> AdvanceBy (::fuchsia_audio_mixer::wire::SyntheticClockRealmAdvanceByRequest SyntheticClockRealmAdvanceByRequest)

Advances synthetic monotonic time by the given duration, which must be

positive. Does not return until the graph has completed all actions that

must occur over the given duration.

* error `ZX_ERR_INVALID_ARGS` if the duration is not positive

Allocates 48 bytes of request buffer on the stack. Response is heap-allocated.