MtcpCheckpointManager Class Reference

#include <MtcpCheckpointManager.h>

List of all members.

Public Member Functions

void checkpointingTimeFrame ()
 pause registered timers, open and close a mtcp checkpointing frame and finally restart registered timers
void connectTimer (Timer &tim)
 register a timer as observer to checkpointingTimeFrame()
void disconnectTimer (Timer &tim)
 deregister a timer as observer to checkpointingTimeFrame()

Protected Member Functions

void pauseTimers ()
 calls pauseTimerSig() which notifies registered timers to stop via Timer::pauseTimer()
void continueTimers ()
 calls continueTimerSig() which notifies registered timers to continue via Timer::continueTimer()
void mtcp_managed_ok ()
 pause registered timers and allow mtcp checkpointing
void mtcp_managed_no ()
 forbid mtcp checkpointing and signal registered timers to continue

Protected Attributes

signals

Gallant::Signal0< void > pauseTimerSig
Gallant::Signal0< void > continueTimerSig

Detailed Description

manage mtcp checkpointing in order to preserve correct timings. To get correct timings in face of checkpointing , all timers must be registered via connectTimer() During a call to checkpointingTimeFrame() MTCP may write a checkpoint if another checkpointInterval was elapsed . As sun as checkpointingTimeFrame() returns, Checkpointing is disabled until the next call to checkpointingTimeFrame()

Definition at line 12 of file MtcpCheckpointManager.h.


Member Function Documentation

void MtcpCheckpointManager::checkpointingTimeFrame (  )  [inline]

Definition at line 45 of file MtcpCheckpointManager.h.

References mtcp_managed_no(), and mtcp_managed_ok().

Referenced by nCenterFocus::centerfocus().

Here is the call graph for this function:

void MtcpCheckpointManager::connectTimer ( Timer tim  )  [inline]

Definition at line 51 of file MtcpCheckpointManager.h.

References Timer::continueTimer(), continueTimerSig, Timer::pauseTimer(), and pauseTimerSig.

Referenced by nCenterFocus::centerfocus().

Here is the call graph for this function:

void MtcpCheckpointManager::continueTimers (  )  [inline, protected]

Definition at line 72 of file MtcpCheckpointManager.h.

References continueTimerSig.

Referenced by mtcp_managed_no().

void MtcpCheckpointManager::disconnectTimer ( Timer tim  )  [inline]
void MtcpCheckpointManager::mtcp_managed_no (  )  [inline, protected]

Definition at line 89 of file MtcpCheckpointManager.h.

References continueTimers().

Referenced by checkpointingTimeFrame().

Here is the call graph for this function:

void MtcpCheckpointManager::mtcp_managed_ok (  )  [inline, protected]

Definition at line 78 of file MtcpCheckpointManager.h.

References pauseTimers().

Referenced by checkpointingTimeFrame().

Here is the call graph for this function:

void MtcpCheckpointManager::pauseTimers (  )  [inline, protected]

Definition at line 66 of file MtcpCheckpointManager.h.

References pauseTimerSig.

Referenced by mtcp_managed_ok().


Member Data Documentation

Gallant::Signal0<void> MtcpCheckpointManager::continueTimerSig [protected]

Definition at line 22 of file MtcpCheckpointManager.h.

Referenced by connectTimer(), continueTimers(), and disconnectTimer().

Gallant::Signal0<void> MtcpCheckpointManager::pauseTimerSig [protected]

Definition at line 21 of file MtcpCheckpointManager.h.

Referenced by connectTimer(), disconnectTimer(), and pauseTimers().


The documentation for this class was generated from the following file:
Generated on Tue Nov 23 13:10:53 2010 for centerfocus by  doxygen 1.6.3