drumstick  0.5.0
TimerEventHandler Class Referenceabstract

ALSA Timer events handler. More...

#include <alsatimer.h>

Public Member Functions

virtual ~TimerEventHandler ()
 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.

Examples:
timertest.cpp.

Definition at line 249 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: