class AddStopPoint

Defined at line 279 of file fidling/gen/src/lib/fake-clock/fidl/fidl/cpp/fidl/fuchsia.testing/cpp/markers.h

Registers interest in a deadline event.

`deadline_id` and `event_type` identify the named deadline and the event associated with

the deadline. When the event occurs, FakeClock will signal `EVENTPAIR_SIGNALED` on

`on_stop`. If time is free-running, the clock is stopped. Closing the eventpair cancels

interest in the deadline. If the eventpair is closed when a deadline is reached, time is

not stopped. Note that only events that occur after `AddStopPoint` is called are matched.

In addition, the `EXPIRED` event is always reported, even if the component that created the

deadline does not act on the deadline expiration.

The intended use is to set a stop point using `AddStopPoint`, resume running time with

`ResumeWithIncrements`, then wait for the stop point to occur using the `on_stop`

eventpair.

Setting a stop point is only allowed while time is stopped. If time is free running when

this method is invoked `ZX_ERR_ACCESS_DENIED` is returned. If a stop point is already

registered for the same event, `ZX_ALREADY_BOUND` is returned.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal