drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
TimerEventHandler Class Referenceabstract

ALSA Timer events handler. More...

#include <alsatimer.h>

Public Member Functions

virtual ~TimerEventHandler ()=default
 Destructor.
 
virtual void handleTimerEvent (int ticks, int msecs)=0
 Timer event handler. More...
 

Detailed Description

ALSA Timer events handler.

This abstract class is used to define an interface that other class can implement to receive timer events.

Definition at line 265 of file alsatimer.h.

Member Function Documentation

◆ handleTimerEvent()

virtual void handleTimerEvent ( int  ticks,
int  msecs 
)
pure virtual

Timer event handler.

This method is called when the timer expires.

Parameters
ticksThe time in ticks.
msecsThe time in milliseconds.

Referenced by Timer::doEvents().


The documentation for this class was generated from the following file: