MBeating Class Reference

#include <e32base.h>

class MBeating
Public Member Functions
pure virtual voidBeat()
pure virtual voidSynchronize()

Detailed Description

Heartbeat timer call-back handling interface.

The interface provides a pair of functions to handle the beating and synchronisation of heartbeat timers.

The CHeartbeat active object class uses an object implementing the MBeating interface.

See also: CHeartbeat::Start

Member Function Documentation

Beat ( )

voidBeat()[pure virtual]

Handles a regular heartbeat timer event.

This type of event is one where the timer completes in synchronisation with the system clock.

Synchronize ( )

voidSynchronize()[pure virtual]

Synchronises the heartbeat timer with system clock.

This function handles a heartbeat timer event where the timer completes out of synchronisation with the system clock, (i.e. one or more heartbeats have been missed).