59 virtual void Print(std::ostream &stream);
70 virtual int Tick(
int nElapsedTicks) = 0;
Attachment()
Definition attachment.h:26
Handle that identifies one batch of commands the scheduler has queued.
Definition cmdid.h:35
Pausable view of scheduler time, together with the tempo that maps it to a song position.
Definition tickclock.h:40
void Run()
Run Tick() for the run now due and post the next one.
TickTask(Sch::TickClock *pClock, int nPeriod, int bAligned)
virtual ~TickTask()
Withdraw the queued command.
virtual int Tick(int nElapsedTicks)=0
Run the task.
void Stop()
Withdraw the queued command and forget its handle.
virtual void Print(std::ostream &stream)
Write the task to a diagnostic stream.
void Start(int nEpochOffset)
Post the task on its clock.