|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Vruta::TaskScheduler::register_clock | ( | ProcessingToken | token, |
| std::shared_ptr< IClock > | clock | ||
| ) |
Register an externally-owned clock as the authoritative source for a token domain.
Replaces any clock ensure_domain created for this token. The caller retains shared ownership; the scheduler reads position and rate from it but does not tick it. Intended for subsystems that self-drive their own clock (e.g. GraphicsSubsystem and its FrameClock).
| token | Processing domain whose clock is being replaced. |
| clock | Externally-owned clock instance. |
Definition at line 259 of file Scheduler.cpp.
References ensure_domain(), and m_token_clocks.
Here is the call graph for this function: