class UnreadableClock

Defined at line 18 of file ../../src/media/audio/lib/clock/unreadable_clock.h

This class is essentually just a `std::shared_ptr

<const

Clock>` but does not export any methods

except `Clock::koid()`. Reading the clock must be done through some other mechanism, such as a

`ClockSnapshots` object. Two UnreadableClocks are equivalent iff they reference the same

underlying Clock object.

Public Methods

void UnreadableClock (std::shared_ptr<const Clock> clock)

Defined at line 20 of file ../../src/media/audio/lib/clock/unreadable_clock.h

zx_koid_t koid ()

Reports the clock's koid.

Defined at line 23 of file ../../src/media/audio/lib/clock/unreadable_clock.h

bool operator== (const UnreadableClock & rhs)

Reports whether two UnreadableClocks reference the same clock.

Defined at line 26 of file ../../src/media/audio/lib/clock/unreadable_clock.h

bool operator!= (const UnreadableClock & rhs)

Defined at line 27 of file ../../src/media/audio/lib/clock/unreadable_clock.h

Friends

bool UnreadableClock (const std::shared_ptr<const Clock> & lhs, const UnreadableClock & rhs)
bool UnreadableClock (const std::shared_ptr<const Clock> & lhs, const UnreadableClock & rhs)
bool UnreadableClock (const UnreadableClock & lhs, const std::shared_ptr<const Clock> & rhs)
bool UnreadableClock (const UnreadableClock & lhsconst std::shared_ptr<const Clock> & rhs)