MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ TimedAction()

MayaFlux::Kriya::TimedAction::TimedAction ( Vruta::TaskScheduler scheduler,
Vruta::ProcessingToken  token = Vruta::ProcessingToken::SAMPLE_ACCURATE 
)

Constructs a TimedAction with the specified scheduler.

Parameters
schedulerThe TaskScheduler that will manage this action
tokenThe processing token that determines the timing context for this action (default is SAMPLE_ACCURATE)

Creates a new TimedAction that will use the provided scheduler for timing operations. The scheduler provides the sample clock and task management infrastructure needed for precise timing.

Definition at line 68 of file Timers.cpp.

69 : m_Scheduler(scheduler)
70 , m_timer(scheduler, token)
71 , m_token(token)
72{
73}
Vruta::TaskScheduler & m_Scheduler
Reference to the scheduler that manages this action.
Definition Timers.hpp:210
Timer m_timer
The timer used to schedule the end function.
Definition Timers.hpp:218
Vruta::ProcessingToken m_token
The processing token that determines the timing context and thread evaluator for this action.
Definition Timers.hpp:223