Location:
e32base.h
Link against: e32base.h
MBeating
Supported from 5.0
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.
Defined in MBeating
:
Beat()
, Synchronize()
virtual void Beat()=0;
Handles a regular heartbeat timer event. This type of event is one where the timer completes in synchronisation with the system clock.
virtual void Synchronize()=0;
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).