drumstick  0.5.0
TimerEventHandler Class Reference

ALSA Timer events handler. More...

#include <alsatimer.h>

List of all members.

Public Member Functions

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

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

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.
Examples:
timertest.cpp.

Referenced by Timer::doEvents().


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