MBeating Class Reference

class MBeating

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.

CHeartbeat::Start

Public Member Functions
voidBeat()
voidSynchronize()

Member Functions 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).