Public Member Functions | Protected Attributes
MAKLogger::DtCheckpointByTime Class Reference

Checkpoint policy which checkpoints are set by time. More...

+ Inheritance diagram for MAKLogger::DtCheckpointByTime:
+ Collaboration diagram for MAKLogger::DtCheckpointByTime:

List of all members.

Public Member Functions

virtual ~DtCheckpointByTime ()
 DTOR.
virtual bool timeForCheckpoint () const
 Function called to check to see if it is time to create a checkpoint.
virtual void reset ()
 Function called if the checkpoint mechanism should be reset.
virtual void checkpointWritten ()
 Function called after a checkpoint has been written.
virtual void packetWritten (const DtPacket &)
 Function called after a packet is written.

Protected Attributes

DtRelativeTime myCheckpointTime
 The time duration between checkpoints.
DtAbsoluteTime myLastCheckpointTime
DtAbsoluteTime myLastPacketTime
 The time of the last checkpoint.

Detailed Description

Checkpoint policy which checkpoints are set by time.


Member Function Documentation

virtual bool MAKLogger::DtCheckpointByTime::timeForCheckpoint ( ) const [virtual]

Function called to check to see if it is time to create a checkpoint.

Return values:
trueTime for checkpoint.
falseNot time for checkpoint.

Implements MAKLogger::DtCheckpointPolicy.


Member Data Documentation

The time duration between checkpoints.

This is relative to the last packet written.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)